osmesa: use unsigned 16-bit/channel format

This commit is contained in:
Brian Paul
2010-05-09 22:08:33 -06:00
parent 980df845a3
commit 9b990c81c0
+1 -1
View File
@@ -1009,7 +1009,7 @@ new_osmesa_renderbuffer(GLcontext *ctx, GLenum format, GLenum type)
rb->Format = MESA_FORMAT_RGBA8888;
break;
case GL_UNSIGNED_SHORT:
rb->Format = MESA_FORMAT_SIGNED_RGBA_16;
rb->Format = MESA_FORMAT_RGBA_16;
break;
case GL_FLOAT:
rb->Format = MESA_FORMAT_RGBA_FLOAT32;