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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_autogen.h

Issue 1818073002: Always apply UniformMatrix4fvStreamTextureMatrixCHROMIUM matrix argument. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase [If you wait by the river long enough, the bodies of your gyp files will float by] Created 4 years, 4 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/service/gles2_cmd_decoder_autogen.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
index 34ff07549a67dbe65306afdf1c5f9739181fa2a4..7a60901c3e13b349aa6a28447760eb46a0227a2e 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
@@ -5546,13 +5546,12 @@ GLES2DecoderImpl::HandleUniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate(
if (data_size > immediate_data_size) {
return error::kOutOfBounds;
}
- const GLfloat* default_value =
+ const GLfloat* transform =
GetImmediateDataAs<const GLfloat*>(c, data_size, immediate_data_size);
- if (default_value == NULL) {
+ if (transform == NULL) {
return error::kOutOfBounds;
}
- DoUniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose,
- default_value);
+ DoUniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose, transform);
return error::kNoError;
}

Powered by Google App Engine
This is Rietveld 408576698