mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Attempt workaround for #8610
This commit is contained in:
parent
de932b5efc
commit
5f761c346b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue