diff options
author | Brian Paul <[email protected]> | 2010-05-09 22:08:33 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-05-09 22:08:33 -0600 |
commit | 9b990c81c0f3b80988d159dd054ef3c0637d2d9e (patch) | |
tree | 6e38da5c87249d71fd2e070be75add50f5501509 | |
parent | 980df845a3e6a395cf9258658b282548c2ed0ebd (diff) |
osmesa: use unsigned 16-bit/channel format
-rw-r--r-- | src/mesa/drivers/osmesa/osmesa.c | 2 |
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; |