projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb0ea41
)
mesa: check for ARB_framebuffer_object for GL_TEXTURE_STENCIL_SIZE_EXT query
author
Brian Paul
<brianp@vmware.com>
Mon, 29 Jun 2009 21:12:36 +0000
(15:12 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 29 Jun 2009 21:27:28 +0000
(15:27 -0600)
src/mesa/main/texparam.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texparam.c
b/src/mesa/main/texparam.c
index 2195a334d3ea9fa69dcd4c974d5f5e6b2b5b21bf..d27c59381c563eee91846ab24817ffdd408bee5b 100644
(file)
--- a/
src/mesa/main/texparam.c
+++ b/
src/mesa/main/texparam.c
@@
-882,7
+882,8
@@
_mesa_GetTexLevelParameteriv( GLenum target, GLint level,
"glGetTexLevelParameter[if]v(pname)");
break;
case GL_TEXTURE_STENCIL_SIZE_EXT:
- if (ctx->Extensions.EXT_packed_depth_stencil) {
+ if (ctx->Extensions.EXT_packed_depth_stencil ||
+ ctx->Extensions.ARB_framebuffer_object) {
*params = img->TexFormat->StencilBits;
}
else {