mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 02:59:49 +01:00
Merge pull request #3843 from thedax/fixMobileBuilds
USING_GLES2 platforms: Fix build and fix a warning on Android.
This commit is contained in:
commit
b717e41909
1 file changed
+5
-1
@@ -178,7 +178,11 @@ inline void TextureCache::AttachFramebuffer(TexCacheEntry *entry, u32 address, V
|
||||
// If they match exactly, it's non-CLUT and from the top left.
|
||||
if (exactMatch) {
|
||||
// Apply to non-buffered and buffered mode only.
|
||||
if (g_Config.iRenderingMode == FB_READFBOMEMORY_CPU || g_Config.iRenderingMode == FB_READFBOMEMORY_GPU )
|
||||
#ifndef USING_GLES2
|
||||
if ((g_Config.iRenderingMode == FB_READFBOMEMORY_CPU) || (g_Config.iRenderingMode == FB_READFBOMEMORY_GPU))
|
||||
#else
|
||||
if (g_Config.iRenderingMode == FB_READFBOMEMORY_GPU)
|
||||
#endif
|
||||
return;
|
||||
|
||||
DEBUG_LOG(G3D, "Render to texture detected at %08x!", address);
|
||||
|
||||
Reference in new issue
Block a user