Skip to content
Snippets Groups Projects
Commit 151e0c0a authored by Michel Dänzer's avatar Michel Dänzer
Browse files

intel: Handle GL_RGB8 for glCopyTex(Sub)Image.

Avoids an unnecessary fallback.
parent 46da1f2c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment