Hiding draw batch flush scope.

This commit is contained in:
Ben Vanik
2015-03-22 11:41:46 -07:00
parent 11b0c076bd
commit f8db3774cb
3 changed files with 4 additions and 2 deletions

View File

@@ -259,7 +259,9 @@ bool DrawBatcher::CommitDraw() {
bool DrawBatcher::Flush(FlushMode mode) {
if (batch_state_.draw_count) {
#if FINE_GRAINED_DRAW_SCOPES
SCOPE_profile_cpu_f("gpu");
#endif // FINE_GRAINED_DRAW_SCOPES
assert_not_zero(batch_state_.command_stride);
assert_not_zero(batch_state_.state_stride);