projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesa: add ARB_texture_buffer_range glTextureBufferRangeEXT function
[mesa.git]
/
src
/
mesa
/
main
/
framebuffer.c
diff --git
a/src/mesa/main/framebuffer.c
b/src/mesa/main/framebuffer.c
index 9246a0465a6b9be8d33feb1784adf65096192ba4..8e7778019f81844917ecdef9f3d59de3be5467b4 100644
(file)
--- a/
src/mesa/main/framebuffer.c
+++ b/
src/mesa/main/framebuffer.c
@@
-852,8
+852,7
@@
_mesa_get_color_read_format(struct gl_context *ctx,
return GL_RGB;
case MESA_FORMAT_RG_FLOAT32:
case MESA_FORMAT_RG_FLOAT16:
- case MESA_FORMAT_R8G8_UNORM:
- case MESA_FORMAT_R8G8_SNORM:
+ case MESA_FORMAT_RG_UNORM8:
return GL_RG;
case MESA_FORMAT_RG_SINT32:
case MESA_FORMAT_RG_UINT32: