From b3ad8179990045010e46ca268f069c8c77bcee6f Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Thu, 4 Sep 2014 01:32:40 +0200 Subject: [PATCH] Remove unnecessary memory barrier --- src/graphics/stkscenemanager.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/graphics/stkscenemanager.cpp b/src/graphics/stkscenemanager.cpp index 8b60038c6..f4528eb36 100644 --- a/src/graphics/stkscenemanager.cpp +++ b/src/graphics/stkscenemanager.cpp @@ -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); } \ No newline at end of file