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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

Issue 1959513003: Fix a bug related with indexed buffer binding. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tf
Patch Set: Created 4 years, 7 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 | « content/test/gpu/gpu_tests/webgl2_conformance_expectations.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index b96cebf3ec874ebb9e56fcc6b75940ca024821d6..ca2ad43f73f71c487be73a34f36863b958b2ddbc 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -4950,6 +4950,7 @@ void GLES2DecoderImpl::BindIndexedBufferImpl(
NOTREACHED();
break;
}
+ state_.SetBoundBuffer(target, buffer);
}
void GLES2DecoderImpl::DoBindBufferBase(GLenum target, GLuint index,
« no previous file with comments | « content/test/gpu/gpu_tests/webgl2_conformance_expectations.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698