Commit 8c8e26d6 authored by Dave Airlie's avatar Dave Airlie
Browse files

mesa/fbo: prevent assert trigger on i965 with piglit fbo-srgb test.

parent 0c1db2fe
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment