Revert "Remove unnecessary memory barrier"
This reverts commit b3ad817999
.
This commit is contained in:
parent
b28df0f4d0
commit
0cf6345bc2
@ -651,4 +651,6 @@ void IrrDriver::PrepareDrawCalls()
|
|||||||
}
|
}
|
||||||
poly_count[SOLID_NORMAL_AND_DEPTH_PASS] += SolidPoly;
|
poly_count[SOLID_NORMAL_AND_DEPTH_PASS] += SolidPoly;
|
||||||
poly_count[SHADOW_PASS] += ShadowPoly;
|
poly_count[SHADOW_PASS] += ShadowPoly;
|
||||||
|
|
||||||
|
glMemoryBarrier(GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user