Permalink
Browse files

Fix the fix for Thrillville. See #7459

  • Loading branch information...
hrydgard committed Nov 26, 2017
1 parent b9bad74 commit f50dadb2842b878a9139bdf18df39e929dba19dc
Showing with 2 additions and 1 deletion.
  1. +2 −1 GPU/GPUCommon.cpp
@@ -1842,6 +1842,8 @@ void GPUCommon::Execute_ImmVertexAlphaPrim(u32 op, u32 diff) {
// Instead of finding a proper point to flush, we just emit a full rectangle every time one
// is finished.
FlushImm();
// Need to reset immCount_ here. If we do it in FlushImm it could get skipped by gstate_c.skipDrawReason.
immCount_ = 0;
} else {
ERROR_LOG_REPORT_ONCE(imm_draw_prim, G3D, "Immediate draw: Unexpected primitive %d at count %d", prim, immCount_);
}
@@ -1878,7 +1880,6 @@ void GPUCommon::FlushImm() {
drawEngineCommon_->DispatchFlush();
// TOOD: In the future, make a special path for these.
// drawEngineCommon_->DispatchSubmitImm(immBuffer_, immCount_);
immCount_ = 0;
}
void GPUCommon::ExecuteOp(u32 op, u32 diff) {

0 comments on commit f50dadb

Please sign in to comment.