Module: Mesa Branch: mesa_7_6_branch Commit: 151e0c0aeaa78f4eb6a87d2b3dd86b4807db1523 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=151e0c0aeaa78f4eb6a87d2b3dd86b4807db1523
Author: Michel Dänzer <daen...@vmware.com> Date: Fri Sep 25 20:59:44 2009 +0200 intel: Handle GL_RGB8 for glCopyTex(Sub)Image. Avoids an unnecessary fallback. --- src/mesa/drivers/dri/intel/intel_tex_copy.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_tex_copy.c b/src/mesa/drivers/dri/intel/intel_tex_copy.c index 028b49c..74f7f58 100644 --- 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; _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit