projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46da1f2
)
intel: Handle GL_RGB8 for glCopyTex(Sub)Image.
author
Michel Dänzer
<daenzer@vmware.com>
Fri, 25 Sep 2009 18:59:44 +0000
(20:59 +0200)
committer
Michel Dänzer
<daenzer@vmware.com>
Fri, 25 Sep 2009 19:00:28 +0000
(21:00 +0200)
Avoids an unnecessary fallback.
src/mesa/drivers/dri/intel/intel_tex_copy.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_tex_copy.c
b/src/mesa/drivers/dri/intel/intel_tex_copy.c
index 028b49c14d36e8e9083a886fa4c312f02c5fdd9c..74f7f58bbe4c595dfe3f1a89a01c986b99a55cc3 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_tex_copy.c
+++ b/
src/mesa/drivers/dri/intel/intel_tex_copy.c
@@
-74,6
+74,7
@@
get_teximage_source(struct intel_context *intel, GLenum internalFormat)
case GL_RGBA:
case GL_RGBA8:
case GL_RGB:
+ case GL_RGB8:
return intel_readbuf_region(intel);
default:
return NULL;