[Mesa-dev] [PATCH] [demos] fix direct rendering context in glxinfo

Andreas Boll andreas.boll.dev at gmail.com
Mon Jul 28 07:19:16 PDT 2014


Reviewed and pushed.
Thanks!

2014-07-28 16:08 GMT+02:00 Marc Dietrich <marvin24 at gmx.de>:
> anyone?
>
> Am Dienstag, 22. Juli 2014, 10:35:40 schrieb Marc Dietrich:
>> commit e769bc682b4a0d0f597286b067f54f923d159866 broke direct rendering
>> context because it defaults to indirect rendering and there is no way
>> to reverse it.
>>
>> Signed-of-by: Marc Dietrich <marvin24 at gmx.de>
>> ---
>>  src/xdemos/glinfo_common.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/src/xdemos/glinfo_common.c b/src/xdemos/glinfo_common.c
>> index 95ef545..f536e98 100644
>> --- a/src/xdemos/glinfo_common.c
>> +++ b/src/xdemos/glinfo_common.c
>> @@ -747,7 +747,7 @@ parse_args(int argc, char *argv[], struct options
>> *options) options->limits = GL_FALSE;
>>     options->singleLine = GL_FALSE;
>>     options->displayName = NULL;
>> -   options->allowDirect = GL_FALSE;
>> +   options->allowDirect = GL_TRUE;
>>
>>     for (i = 1; i < argc; i++) {
>>  #ifndef _WIN32
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>


More information about the mesa-dev mailing list