improved GUI performance.

This commit is contained in:
rachytski 2011-08-13 23:36:52 +03:00 committed by Alex Zolotarev
parent 8682e4c44b
commit 3340171575

View file

@ -208,8 +208,8 @@ namespace yg
OGLCHECK(glEnable(GL_DEPTH_TEST));
OGLCHECK(glEnable(GL_TEXTURE_2D));
OGLCHECK(glEnable(GL_BLEND));
/// This call is necessary to avoid parasite blitting in updateActualTarget() on IPhone.
OGLCHECK(glFinish());
// /// This call is necessary to avoid parasite blitting in updateActualTarget() on IPhone.
// OGLCHECK(glFinish());
resourceManager()->blitStorages().PushBack(m_blitStorage);
m_blitStorage = yg::gl::Storage();