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

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

Issue 6268016: Fix GL_CHROMIUM_framebuffer_multisample to accept the correct enums.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | gpu/command_buffer/service/feature_info.cc » ('j') | 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 72421)
+++ gpu/command_buffer/common/gles2_cmd_utils.cc (working copy)
@@ -193,6 +193,10 @@
return 1;
case GL_VIEWPORT:
return 4;
+ // -- glGetBooleanv, glGetFloatv, glGetIntergerv with
+ // GL_CHROMIUM_framebuffer_multisample
+ case GL_MAX_SAMPLES_EXT:
+ return 1;
// -- glGetBufferParameteriv
case GL_BUFFER_SIZE:
« no previous file with comments | « no previous file | gpu/command_buffer/service/feature_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698