projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecbdb17
)
st/glx/xlib: call register_with_display() in glXChooseFBConfig()
author
Brian Paul
<brianp@vmware.com>
Wed, 11 Jan 2012 02:39:04 +0000
(19:39 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 11 Jan 2012 19:43:45 +0000
(12:43 -0700)
This is the same fix as the previous commit, except it's for the gallium
glx/xlib state tracker.
NOTE: This is a candidate for the 7.11 branch.
Reviewed-by: Adam Jackson <ajax@redhat.com>
src/gallium/state_trackers/glx/xlib/glx_api.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/glx/xlib/glx_api.c
b/src/gallium/state_trackers/glx/xlib/glx_api.c
index b68882b1f9726f6e3dfa436aacac2cf15c979857..d034fb5bb35ac01b8b9d3bac753bb33ccd7f0fb9 100644
(file)
--- a/
src/gallium/state_trackers/glx/xlib/glx_api.c
+++ b/
src/gallium/state_trackers/glx/xlib/glx_api.c
@@
-1788,6
+1788,9
@@
glXChooseFBConfig(Display *dpy, int screen,
{
XMesaVisual xmvis;
+ /* register ourselves as an extension on this display */
+ register_with_display(dpy);
+
if (!attribList || !attribList[0]) {
/* return list of all configs (per GLX_SGIX_fbconfig spec) */
return glXGetFBConfigs(dpy, screen, nitems);