Module: Demos Branch: master Commit: be966bd8837da18019a4d7380d3be51bc2870fa8 URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=be966bd8837da18019a4d7380d3be51bc2870fa8
Author: Dave Airlie <[email protected]> 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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
