switch on readpixels for PowerVR SGX530 gpu

This commit is contained in:
ExMix 2013-06-24 12:57:51 +03:00 committed by Alex Zolotarev
parent 3e2158ab0a
commit d2d74c7441

View file

@ -275,6 +275,8 @@ namespace
// glReadPixels instead of glFinish to synchronize.
if (isGPUVersion("Imagination Technologies", "PowerVR SGX 540", "OpenGL ES 2.0"))
m_useReadPixelsToSynchronize = true;
if (isGPU("Imagination Technologies", "PowerVR SGX 530", false))
m_useReadPixelsToSynchronize = true;
#endif
LOG(LINFO, ("selected", graphics::formatName(m_texRtFormat), "format for tile textures"));