From 7ad880f49ffc5662c1d9cd86e6a5c30dbe71784b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 20 Feb 2012 13:01:17 -0700 Subject: [PATCH] mesa: remove STENCIL_BITS use --- src/mesa/main/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2