From 0cf6345bc28d32221c341157f1983af564cb21b3 Mon Sep 17 00:00:00 2001 From: vlj Date: Thu, 4 Sep 2014 02:09:11 +0200 Subject: [PATCH] Revert "Remove unnecessary memory barrier" This reverts commit b3ad8179990045010e46ca268f069c8c77bcee6f. --- src/graphics/stkscenemanager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/graphics/stkscenemanager.cpp b/src/graphics/stkscenemanager.cpp index 8e1580902..4b1879449 100644 --- a/src/graphics/stkscenemanager.cpp +++ b/src/graphics/stkscenemanager.cpp @@ -651,4 +651,6 @@ 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