projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c617829
)
Follow the GLX_SGIX_fbconfig spec and return the complete list of
author
Ian Romanick
<idr@us.ibm.com>
Thu, 7 Apr 2005 00:05:55 +0000
(
00:05
+0000)
committer
Ian Romanick
<idr@us.ibm.com>
Thu, 7 Apr 2005 00:05:55 +0000
(
00:05
+0000)
available fbconfigs if attrList is NULL. This fixes bug #2917.
src/glx/x11/glxcmds.c
patch
|
blob
|
history
diff --git
a/src/glx/x11/glxcmds.c
b/src/glx/x11/glxcmds.c
index 8d6dca2af1bb6a9b7c0727aa289976860cc8813d..b9fa4eeb4516de02e13b16a05be61498963cb1cf 100644
(file)
--- a/
src/glx/x11/glxcmds.c
+++ b/
src/glx/x11/glxcmds.c
@@
-1678,7
+1678,7
@@
PUBLIC GLXFBConfig *GLX_PREFIX(glXChooseFBConfig)(Display *dpy, int screen,
config_list = (__GLcontextModes **)
GLX_PREFIX(glXGetFBConfigs)( dpy, screen, & list_size );
- if ( (config_list != NULL) && (list_size > 0) ) {
+ if ( (config_list != NULL) && (list_size > 0)
&& (attribList != NULL)
) {
list_size = choose_visual( config_list, list_size, attribList,
GL_TRUE );
if ( list_size == 0 ) {