summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2015-08-03 19:12:18 +0200
committerMarek Olšák <marek.olsak@amd.com>2015-08-03 20:16:49 +0200
commitc62dd9c58c8d63dcb522f29306008cb0754b6506 (patch)
tree77dc826631f2ae2f6077171a165c4b0fe0da42a8
parentac239ae4459bde398032e27c312cf394ec9123fa (diff)
downloadmesa-demos-c62dd9c58c8d63dcb522f29306008cb0754b6506.zip
mesa-demos-c62dd9c58c8d63dcb522f29306008cb0754b6506.tar.xz
glxinfo: fix printing core profile extensions
Nobody supports GLX 3.x. Broken by: commit fca824431608101298ff0735db4c09954dcf64ab Author: Julien Isorce <j.isorce@samsung.com> Date: Tue May 19 08:35:10 2015 +0100 glxinfo: fix segfault when core profile is unavailable Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
-rw-r--r--src/xdemos/glxinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdemos/glxinfo.c b/src/xdemos/glxinfo.c
index dc29bd9..f65451a 100644
--- a/src/xdemos/glxinfo.c
+++ b/src/xdemos/glxinfo.c
@@ -491,7 +491,7 @@ print_screen_info(Display *dpy, int scrnum,
}
/* Get list of GL extensions */
- if (coreProfile && extfuncs.GetStringi && glxVersionMajor >= 3)
+ if (coreProfile && extfuncs.GetStringi)
glExtensions = build_core_profile_extension_list(&extfuncs);
if (!glExtensions) {
coreProfile = False;