[Mesa-dev] [PATCH mesa 03/10] egl+glx: turn LIBGL_ALWAYS_SOFTWARE into a boolean
Emil Velikov
emil.l.velikov at gmail.com
Mon Sep 11 17:42:00 UTC 2017
On 8 September 2017 at 13:40, Eric Engestrom <eric.engestrom at imgtec.com> wrote:
> docs/releasing.html | 4 ++--
In light of the earlier "can accept both true and 1" I wouldn't bother
with this file, but meh.
> #if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL)
> glx_direct = (getenv("LIBGL_ALWAYS_INDIRECT") == NULL);
> - glx_accel = (getenv("LIBGL_ALWAYS_SOFTWARE") == NULL);
> + glx_accel = env_var_as_boolean("LIBGL_ALWAYS_SOFTWARE", false);
>
Oops I missed a piece - the above should be !env_var_as_boolean() right?
-Emil
More information about the mesa-dev
mailing list