From 9dbb9bf3b558416dd2c7c61766ec9ce5e841a510 Mon Sep 17 00:00:00 2001 From: magumagu Date: Sun, 25 Jan 2015 23:32:32 -0800 Subject: [PATCH] Make sure EFB2RAM buffer is wide enough for new coordinate system. --- Source/Core/VideoBackends/OGL/TextureConverter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoBackends/OGL/TextureConverter.cpp b/Source/Core/VideoBackends/OGL/TextureConverter.cpp index 5edeebd50b..cc9f348743 100644 --- a/Source/Core/VideoBackends/OGL/TextureConverter.cpp +++ b/Source/Core/VideoBackends/OGL/TextureConverter.cpp @@ -35,7 +35,7 @@ static GLuint s_texConvFrameBuffer[2] = {0,0}; static GLuint s_srcTexture = 0; // for decoding from RAM static GLuint s_dstTexture = 0; // for encoding to RAM -const int renderBufferWidth = 1024; +const int renderBufferWidth = EFB_WIDTH * 4; const int renderBufferHeight = 1024; static SHADER s_rgbToYuyvProgram;