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

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

Issue 2446773002: Always use Desktop GL 4.1 or less BindBufferRange behavior. (Closed)
Patch Set: fix comments Created 4 years, 2 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/indexed_buffer_binding_host.cc
diff --git a/gpu/command_buffer/service/indexed_buffer_binding_host.cc b/gpu/command_buffer/service/indexed_buffer_binding_host.cc
index 351e5f4a5edda715c88c7f34b1a58be9770e3900..a7adbaf2508000b4c2012c0b9f9cca6183db342a 100644
--- a/gpu/command_buffer/service/indexed_buffer_binding_host.cc
+++ b/gpu/command_buffer/service/indexed_buffer_binding_host.cc
@@ -80,6 +80,7 @@ IndexedBufferBindingHost::IndexedBufferBindingHost(
uint32_t max_bindings, bool needs_emulation)
: needs_emulation_(needs_emulation),
max_non_null_binding_index_plus_one_(0u) {
+ DCHECK(needs_emulation);
buffer_bindings_.resize(max_bindings);
}
« no previous file with comments | « gpu/command_buffer/service/indexed_buffer_binding_host.h ('k') | gpu/command_buffer/service/transform_feedback_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698