mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 17:49:29 +01:00
Avoid direct refs to OES_texture_npot.
So that we can control it centrally in GLES_GPU.
This commit is contained in:
1 parent
ec79dacc35
commit
2ed8aab2d7
2 files changed
+5
-3
No files matched your search
@@ -1302,7 +1302,8 @@ void FramebufferManager::ReadFramebufferToMemory(VirtualFramebuffer *vfb, bool s
|
||||
#ifdef USING_GLES2
|
||||
PackFramebufferSync_(nvfb, x, y, w, h);
|
||||
#else
|
||||
if (gl_extensions.ARB_pixel_buffer_object && gl_extensions.OES_texture_npot) {
|
||||
// TODO: Can we fall back to sync without these?
|
||||
if (gl_extensions.ARB_pixel_buffer_object && gstate_c.Supports(GPU_SUPPORTS_OES_TEXTURE_NPOT)) {
|
||||
if (!sync) {
|
||||
PackFramebufferAsync_(nvfb);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user