projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
074637b
)
mesa: remove STENCIL_BITS use
author
Brian Paul
<brianp@vmware.com>
Mon, 20 Feb 2012 20:01:17 +0000
(13:01 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 24 Feb 2012 15:03:14 +0000
(08:03 -0700)
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index 555489343e3c0d9ea9cd7620a545c6169325aed1..8d48904f82fd8c67e9c7a344b2b2b514928cd8c8 100644
(file)
--- 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);