Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Unified Diff: gpu/command_buffer/common/gles2_cmd_utils.cc

Issue 6677024: Fix for ANGLE and readpixels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/gles2_cmd_utils.cc
===================================================================
--- gpu/command_buffer/common/gles2_cmd_utils.cc (revision 77311)
+++ gpu/command_buffer/common/gles2_cmd_utils.cc (working copy)
@@ -512,9 +512,11 @@
case GL_LUMINANCE_ALPHA:
return 0x000F;
case GL_RGB:
+ case GL_RGB8_OES:
case GL_RGB565:
return 0x0007;
case GL_RGBA:
+ case GL_RGBA8_OES:
case GL_RGBA4:
case GL_RGB5_A1:
return 0x000F;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698