OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
980df84
)
osmesa: use unsigned 16-bit/channel format
author
Brian Paul
<brianp@vmware.com>
Mon, 10 May 2010 04:08:33 +0000
(22:08 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 10 May 2010 04:08:33 +0000
(22:08 -0600)
src/mesa/drivers/osmesa/osmesa.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/osmesa/osmesa.c
b/src/mesa/drivers/osmesa/osmesa.c
index
0432629
..
ead4050
100644
(file)
--- 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;