From: Brian Paul Date: Mon, 20 Feb 2012 20:01:17 +0000 (-0700) Subject: mesa: remove STENCIL_BITS use X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ad880f49ffc5662c1d9cd86e6a5c30dbe71784b;p=mesa.git mesa: remove STENCIL_BITS use --- 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);