summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-02-20 13:01:17 -0700
committerBrian Paul <[email protected]>2012-02-24 08:03:14 -0700
commit7ad880f49ffc5662c1d9cd86e6a5c30dbe71784b (patch)
tree0f5011ec1c2102dfaab87a41c32d6909612f023a /src
parent074637bf991c1f0fbe7d63df75427975af711d7c (diff)
mesa: remove STENCIL_BITS use
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 555489343e3..8d48904f82f 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -268,7 +268,7 @@ _mesa_initialize_visual( struct gl_config *vis,
if (depthBits < 0 || depthBits > 32) {
return GL_FALSE;
}
- if (stencilBits < 0 || stencilBits > STENCIL_BITS) {
+ if (stencilBits < 0 || stencilBits > 8) {
return GL_FALSE;
}
assert(accumRedBits >= 0);