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

Marc Dietrich marvin24 at gmx.de
Mon Jul 28 07:08:06 PDT 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140728/f113016f/attachment.sig>


More information about the mesa-dev mailing list