mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-28 02:41:18 +00:00
Attempt workaround for #8610
This commit is contained in:
parent
de932b5efc
commit
5f761c346b
@ -1495,7 +1495,7 @@ static void LogReadPixelsError(GLenum error) {
|
||||
#endif
|
||||
|
||||
static void SafeGLReadPixels(GLint x, GLint y, GLsizei w, GLsizei h, GLenum fmt, GLenum type, void *pixels) {
|
||||
if (!gl_extensions.IsGLES || gl_extensions.GLES3) {
|
||||
if (!gl_extensions.IsGLES || (gl_extensions.GLES3 && gl_extensions.gpuVendor != GPU_VENDOR_NVIDIA)) {
|
||||
// Some drivers seem to require we specify this. See #8254.
|
||||
glPixelStorei(GL_PACK_ROW_LENGTH, w);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user