Demos (master): glxinfo: fix ifdefs around packed float
Dave Airlie
airlied at kemper.freedesktop.org
Mon Mar 7 03:23:36 UTC 2011
Module: Demos
Branch: master
Commit: be966bd8837da18019a4d7380d3be51bc2870fa8
URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=be966bd8837da18019a4d7380d3be51bc2870fa8
Author: Dave Airlie <airlied at redhat.com>
Date: Mon Mar 7 13:29:01 2011 +1000
glxinfo: fix ifdefs around packed float
---
src/xdemos/glxinfo.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/xdemos/glxinfo.c b/src/xdemos/glxinfo.c
index b02f2ba..7544b21 100644
--- a/src/xdemos/glxinfo.c
+++ b/src/xdemos/glxinfo.c
@@ -891,6 +891,8 @@ get_fbconfig_attribs(Display *dpy, GLXFBConfig fbconfig,
attribs->floatComponents = True;
}
}
+#endif
+#if defined(GLX_EXT_fbconfig_packed_float)
if (ext && strstr(ext, "GLX_EXT_fbconfig_packed_float")) {
if (attribs->render_type & GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT) {
attribs->packedfloatComponents = True;
More information about the mesa-commit
mailing list