summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoridr <idr>2003-03-27 01:38:16 +0000
committeridr <idr>2003-03-27 01:38:16 +0000
commita4f047557c30e0bcd7e86f46fc1a2ec174605b1d (patch)
treecfde643d82f446826f46c1b1f38bab17e23c3e03
parentbd778f30b96dc3e9575be388fa71bd250be500aa (diff)
Stencil-buffer and depth-buffer sizes are now tested in
fbconfigs_compatible. Fixes some problems with Quake3 and other apps.
-rw-r--r--xc/lib/GL/glx/glxcmds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xc/lib/GL/glx/glxcmds.c b/xc/lib/GL/glx/glxcmds.c
index 076c3e55c..b7da47548 100644
--- a/xc/lib/GL/glx/glxcmds.c
+++ b/xc/lib/GL/glx/glxcmds.c
@@ -900,6 +900,8 @@ fbconfigs_compatible( const __GLXFBConfig * const a,
MATCH_MINIMUM( greenSize );
MATCH_MINIMUM( blueSize );
MATCH_MINIMUM( alphaSize );
+ MATCH_MINIMUM( depthSize );
+ MATCH_MINIMUM( stencilSize );
MATCH_MINIMUM( accumRedSize );
MATCH_MINIMUM( accumGreenSize );
MATCH_MINIMUM( accumBlueSize );