Revert "Remove unnecessary memory barrier"

This reverts commit b3ad817999.
This commit is contained in:
vlj 2014-09-04 02:09:11 +02:00
parent b28df0f4d0
commit 0cf6345bc2

View File

@ -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);
} }