summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-01-13 15:16:11 +1000
committerDave Airlie <[email protected]>2011-01-13 15:17:34 +1000
commit8c8e26d66ae41e900cc88521da9c0dc02803d7d2 (patch)
treedf0ac618322e2de35f6b2b8349220b3574d6c068 /src/mesa
parent0c1db2feb9c2f5c9a2ef486053b6e9dcd9860b3e (diff)
mesa/fbo: prevent assert trigger on i965 with piglit fbo-srgb test.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/fbobject.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index e3aefe9b855..fac63ac994d 100644
--- 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: