summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Dietrich <marvin24@gmx.de>2014-07-22 10:35:40 +0200
committerAndreas Boll <andreas.boll.dev@gmail.com>2014-07-28 16:16:28 +0200
commit87a60bff84d2ce4c4bfd2a1b2f992eb38042c9f1 (patch)
tree58df7ef822136794d240af973d04f076b23e75f0
parentd45c9ffd8eb3b27c4d5aa91b41dcdf4c90337c32 (diff)
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@gmx.de> Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com> Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
-rw-r--r--src/xdemos/glinfo_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdemos/glinfo_common.c b/src/xdemos/glinfo_common.c
index 95ef5456..f536e986 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