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

Unified Diff: mojo/gpu/mojo_gles2_impl_autogen.cc

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: mojo/gpu/mojo_gles2_impl_autogen.cc
diff --git a/mojo/gpu/mojo_gles2_impl_autogen.cc b/mojo/gpu/mojo_gles2_impl_autogen.cc
index 2e0c661eec8671d1214bf8833f8283f5ae31887f..587a053cdb37dd6e41afc7c6e41d304775ebe5e5 100644
--- a/mojo/gpu/mojo_gles2_impl_autogen.cc
+++ b/mojo/gpu/mojo_gles2_impl_autogen.cc
@@ -1928,10 +1928,9 @@ GLint MojoGLES2Impl::GetFragDataIndexEXT(GLuint program, const char* name) {
void MojoGLES2Impl::UniformMatrix4fvStreamTextureMatrixCHROMIUM(
GLint location,
GLboolean transpose,
- const GLfloat* default_value) {
+ const GLfloat* transform) {
MojoGLES2MakeCurrent(context_);
- glUniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose,
- default_value);
+ glUniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose, transform);
}
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698