projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75b963c
)
mesa: Allow GL_DEPTH_STENCIL_ATTACHMENT in ES 3
author
Matt Turner
<mattst88@gmail.com>
Fri, 16 Nov 2012 06:13:48 +0000
(22:13 -0800)
committer
Matt Turner
<mattst88@gmail.com>
Thu, 10 Jan 2013 18:57:51 +0000
(10:57 -0800)
Fixes framebuffer_srgb_default_encoding_fbo and 5 packed_depth_stencil
tests from es3conform.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/fbobject.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/fbobject.c
b/src/mesa/main/fbobject.c
index 281cdd05c7228c735d740cb5ecb646da7d590ce0..50ad84c56598fb3ddcef4156a33b06a7d62fccd1 100644
(file)
--- a/
src/mesa/main/fbobject.c
+++ b/
src/mesa/main/fbobject.c
@@
-222,7
+222,7
@@
_mesa_get_attachment(struct gl_context *ctx, struct gl_framebuffer *fb,
}
return &fb->Attachment[BUFFER_COLOR0 + i];
case GL_DEPTH_STENCIL_ATTACHMENT:
- if (!_mesa_is_desktop_gl(ctx))
+ if (!_mesa_is_desktop_gl(ctx)
&& !_mesa_is_gles3(ctx)
)
return NULL;
/* fall-through */
case GL_DEPTH_ATTACHMENT_EXT: