diff options
author | Dave Airlie <airlied@redhat.com> | 2011-03-07 13:29:01 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-03-07 13:29:01 +1000 |
commit | be966bd8837da18019a4d7380d3be51bc2870fa8 (patch) | |
tree | bb740c528a64f2e593c6a857a0ea190c9c6de0e4 | |
parent | c681ddbd402483e9d088c264bed194cc317bbf29 (diff) |
glxinfo: fix ifdefs around packed float
-rw-r--r-- | 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 b02f2ba2..7544b21a 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; |