projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
automake: create compat symlinks only for linux systems
[mesa.git]
/
src
/
mesa
/
drivers
/
osmesa
/
osmesa.c
diff --git
a/src/mesa/drivers/osmesa/osmesa.c
b/src/mesa/drivers/osmesa/osmesa.c
index cd137bec5331e40360a84e19036b796e54cbc17d..347913dd6787ba8d6153f99fb9b82f8ff1373989 100644
(file)
--- a/
src/mesa/drivers/osmesa/osmesa.c
+++ b/
src/mesa/drivers/osmesa/osmesa.c
@@
-520,7
+520,7
@@
osmesa_renderbuffer_storage(struct gl_context *ctx, struct gl_renderbuffer *rb,
}
else if (osmesa->format == OSMESA_RGB_565) {
ASSERT(osmesa->DataType == GL_UNSIGNED_BYTE);
- rb->Format = MESA_FORMAT_
RGB565
;
+ rb->Format = MESA_FORMAT_
B5G6R5_UNORM
;
}
else {
_mesa_problem(ctx, "bad pixel format in osmesa renderbuffer_storage");