projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c1db2f
)
mesa/fbo: prevent assert trigger on i965 with piglit fbo-srgb test.
author
Dave Airlie
<airlied@gmail.com>
Thu, 13 Jan 2011 05:16:11 +0000
(15:16 +1000)
committer
Dave Airlie
<airlied@gmail.com>
Thu, 13 Jan 2011 05:17:34 +0000
(15:17 +1000)
src/mesa/main/fbobject.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/fbobject.c
b/src/mesa/main/fbobject.c
index
e3aefe9
..
fac63ac
100644
(file)
--- a/
src/mesa/main/fbobject.c
+++ b/
src/mesa/main/fbobject.c
@@
-999,6
+999,8
@@
_mesa_base_fbo_format(struct gl_context *ctx, GLenum internalFormat)
case GL_RGBA12:
case GL_RGBA16:
case GL_RGBA16_SNORM:
+ case GL_SRGB8_ALPHA8_EXT:
+ case GL_SRGB8_EXT:
return GL_RGBA;
case GL_STENCIL_INDEX:
case GL_STENCIL_INDEX1_EXT: