Permalink
Browse files

[spline/bezier]Get rid of duplication call of Flush().

  • Loading branch information...
xebra committed Sep 29, 2018
1 parent ef53195 commit 405ead8d413f4c6145e72782c382c2a167539c94
Showing with 0 additions and 4 deletions.
  1. +0 −4 GPU/GPUCommon.cpp
View
@@ -1718,8 +1718,6 @@ void GPUCommon::Execute_Prim(u32 op, u32 diff) {
}
void GPUCommon::Execute_Bezier(u32 op, u32 diff) {
drawEngineCommon_->DispatchFlush();
// We don't dirty on normal changes anymore as we prescale, but it's needed for splines/bezier.
gstate_c.Dirty(DIRTY_UVSCALEOFFSET);
@@ -1780,8 +1778,6 @@ void GPUCommon::Execute_Bezier(u32 op, u32 diff) {
}
void GPUCommon::Execute_Spline(u32 op, u32 diff) {
drawEngineCommon_->DispatchFlush();
// We don't dirty on normal changes anymore as we prescale, but it's needed for splines/bezier.
gstate_c.Dirty(DIRTY_UVSCALEOFFSET);

0 comments on commit 405ead8

Please sign in to comment.