Remove unnecessary memory barrier

This commit is contained in:
Vincent Lejeune 2014-09-04 01:32:40 +02:00
parent 059a707196
commit b3ad817999

View File

@ -630,6 +630,4 @@ void IrrDriver::PrepareDrawCalls()
}
poly_count[SOLID_NORMAL_AND_DEPTH_PASS] += SolidPoly;
poly_count[SHADOW_PASS] += ShadowPoly;
glMemoryBarrier(GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT);
}