Demos (master): glxinfo: fix direct rendering context in glxinfo
Andreas Boll
ab at kemper.freedesktop.org
Mon Jul 28 14:18:25 UTC 2014
Module: Demos
Branch: master
Commit: 87a60bff84d2ce4c4bfd2a1b2f992eb38042c9f1
URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=87a60bff84d2ce4c4bfd2a1b2f992eb38042c9f1
Author: Marc Dietrich <marvin24 at gmx.de>
Date: Tue Jul 22 10:35:40 2014 +0200
glxinfo: fix direct rendering context in glxinfo
commit e769bc682b4a0d0f597286b067f54f923d159866 broke direct rendering
context because it defaults to indirect rendering and there is no way
to reverse it.
Signed-off-by: Marc Dietrich <marvin24 at gmx.de>
Reviewed-by: Andreas Boll <andreas.boll.dev at gmail.com>
Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.com>
---
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
More information about the mesa-commit
mailing list