mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
GLES: Avoid buffer on GLES2 for h=1 / CLUT.
This commit is contained in:
parent
78ebe942ab
commit
30871bfcd1
1 changed files with 1 additions and 1 deletions
|
@ -945,7 +945,7 @@ void FramebufferManagerGLES::PackFramebufferSync_(VirtualFramebuffer *vfb, int x
|
|||
const int dstBpp = vfb->format == GE_FORMAT_8888 ? 4 : 2;
|
||||
const int packWidth = std::min(vfb->fb_stride, std::min(x + w, (int)vfb->width));
|
||||
|
||||
if (gl_extensions.IsGLES && !gl_extensions.GLES3 && (packWidth != vfb->fb_stride)) {
|
||||
if (gl_extensions.IsGLES && !gl_extensions.GLES3 && packWidth != vfb->fb_stride && h != 1) {
|
||||
// Need to use a temp buffer, since GLES2 doesn't support GL_PACK_ROW_LENGTH.
|
||||
convert = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue