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

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

Issue 1844113003: Set number values of getting TRANSFORM_FEEDBACK_BUFFER_MODE (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
diff --git a/gpu/command_buffer/common/gles2_cmd_utils.cc b/gpu/command_buffer/common/gles2_cmd_utils.cc
index cf69310553859f7ba3aa016016dc82078ff34ab7..8eeaf2488c4e18d0a9248a8743b47d7159ad749e 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils.cc
+++ b/gpu/command_buffer/common/gles2_cmd_utils.cc
@@ -216,12 +216,14 @@ int GLES2Util::GLGetNumValuesReturned(int id) const {
return 1;
case GL_TRANSFORM_FEEDBACK_BUFFER_BINDING:
return 1;
- case GL_UNIFORM_BUFFER_BINDING:
+ case GL_TRANSFORM_FEEDBACK_BUFFER_MODE:
return 1;
case GL_TRANSFORM_FEEDBACK_BUFFER_SIZE:
return 1;
case GL_TRANSFORM_FEEDBACK_BUFFER_START:
return 1;
+ case GL_UNIFORM_BUFFER_BINDING:
+ return 1;
case GL_UNIFORM_BUFFER_SIZE:
return 1;
case GL_UNIFORM_BUFFER_START:
« 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