aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/x11/glcontextmodes.c
diff options
context:
space:
mode:
authorJie Luo <[email protected]>2008-04-08 19:17:06 -0400
committerKristian Høgsberg <[email protected]>2008-04-08 19:17:06 -0400
commit2771862adcbc163c0a3f3eaaf4b58c658e72f680 (patch)
tree721460abbe89f1f51fed21cfc0da758673edc1cc /src/glx/x11/glcontextmodes.c
parentc016f329abb3d638442bf0b0f27d8f34ebf54f86 (diff)
Handle fbconfig comparison correctly for attributes the X server didn't send.
Diffstat (limited to 'src/glx/x11/glcontextmodes.c')
-rw-r--r--src/glx/x11/glcontextmodes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/x11/glcontextmodes.c b/src/glx/x11/glcontextmodes.c
index 58c548a8fc1..2a8e48d00d4 100644
--- a/src/glx/x11/glcontextmodes.c
+++ b/src/glx/x11/glcontextmodes.c
@@ -415,7 +415,7 @@ _gl_context_modes_create( unsigned count, size_t minimum_size )
(*next)->bindToTextureRgb = GLX_DONT_CARE;
(*next)->bindToTextureRgba = GLX_DONT_CARE;
(*next)->bindToMipmapTexture = GLX_DONT_CARE;
- (*next)->bindToTextureTargets = 0;
+ (*next)->bindToTextureTargets = GLX_DONT_CARE;
(*next)->yInverted = GLX_DONT_CARE;
next = & ((*next)->next);