summaryrefslogtreecommitdiff
path: root/src/glx/dri_glx.c
AgeCommit message (Collapse)Author
2010-03-05glx: Move initialization of ext_list_first_time to where it's storage is ↵Jon TURNEY
allocated Move the initialization of ext_list_first_time from all of the DRI loader's CreateScreen routines, to where the storage for the screen config is allocated. It needs to get set in the screen-config even if DRI is forced off using LIBGL_ALWAYS_INDIRECT, so that psc->direct_support is initialized correctly, otherwise __glXExtensionBitIsEnabled() always returns FALSE Specifically, this causes a problem with an X server which advertises GLX<=1.2, and the GLX_SGIX_fbconfig extension. glXGetFBConfigFromVisualSGIX() uses __glXExtensionBitIsEnabled() to check if the GLX_SGIX_fbconfig extension is available, but that function won't return correct information because that data has never been initialized, because ext_list_first_time was never set... Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-02-14glx: Silence uninitialized variable warning.Vinson Lee
2010-02-09Retire miniglx and move the actual glx code up to src/glxKristian Høgsberg