From 9b990c81c0f3b80988d159dd054ef3c0637d2d9e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 9 May 2010 22:08:33 -0600 Subject: osmesa: use unsigned 16-bit/channel format --- src/mesa/drivers/osmesa/osmesa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/osmesa/osmesa.c') diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index 043262910e4..ead40503977 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -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; -- cgit v1.2.3