diff options
author | Brian Paul <brianp@vmware.com> | 2010-05-09 22:08:33 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-05-09 22:08:33 -0600 |
commit | 9b990c81c0f3b80988d159dd054ef3c0637d2d9e (patch) | |
tree | 6e38da5c87249d71fd2e070be75add50f5501509 /src | |
parent | 980df845a3e6a395cf9258658b282548c2ed0ebd (diff) | |
download | external_mesa3d-9b990c81c0f3b80988d159dd054ef3c0637d2d9e.zip external_mesa3d-9b990c81c0f3b80988d159dd054ef3c0637d2d9e.tar.gz external_mesa3d-9b990c81c0f3b80988d159dd054ef3c0637d2d9e.tar.bz2 |
osmesa: use unsigned 16-bit/channel format
Diffstat (limited to 'src')
-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 0432629..ead4050 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; |