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

Unified Diff: gpu/command_buffer/client/gles2_cmd_helper_autogen.h

Issue 1818073002: Always apply UniformMatrix4fvStreamTextureMatrixCHROMIUM matrix argument. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
Index: gpu/command_buffer/client/gles2_cmd_helper_autogen.h
diff --git a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
index f8b3dcba87741261c1b13f3df23894df0bc6834e..d534d0b5744accca34d3055ef527d611ace3a45a 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -3199,7 +3199,7 @@ void GetFragDataIndexEXT(GLuint program,
void UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate(
GLint location,
GLboolean transpose,
- const GLfloat* default_value) {
+ const GLfloat* transform) {
const uint32_t size = gles2::cmds::
UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate::ComputeSize();
gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate* c =
@@ -3207,7 +3207,7 @@ void UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate(
gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate>(
size);
if (c) {
- c->Init(location, transpose, default_value);
+ c->Init(location, transpose, transform);
}
}

Powered by Google App Engine
This is Rietveld 408576698