summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-05-09 22:08:33 -0600
committerBrian Paul <[email protected]>2010-05-09 22:08:33 -0600
commit9b990c81c0f3b80988d159dd054ef3c0637d2d9e (patch)
tree6e38da5c87249d71fd2e070be75add50f5501509 /src/mesa
parent980df845a3e6a395cf9258658b282548c2ed0ebd (diff)
osmesa: use unsigned 16-bit/channel format
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/osmesa/osmesa.c2
1 files changed, 1 insertions, 1 deletions
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;