commit 5930aeb45e3849df6fc9abf7373599936d515ffa Author: Dave Miller Date: Sat Aug 9 16:45:59 2008 +1000 glx: fix crash in driGetConfigAttribIndex Don't access GLboolean via int pointers diff --git a/glx/glxdricommon.c b/glx/glxdricommon.c index 13725ae..3285835 100644 --- a/glx/glxdricommon.c +++ b/glx/glxdricommon.c @@ -164,6 +164,10 @@ createModeFromConfig(const __DRIcoreExtension *core, if (value & __DRI_ATTRIB_TEXTURE_RECTANGLE_BIT) config->config.bindToTextureTargets |= GLX_TEXTURE_RECTANGLE_BIT_EXT; break; + case __DRI_ATTRIB_FLOAT_MODE: + config->config.floatMode = (value ? GL_TRUE : GL_FALSE); + break; + default: setScalar(&config->config, attrib, value); break;