Skip to content
Permalink
Browse files

iOS: Fix an OpenGL ES error when rotating the device if MSAA is used …

…(thanks Cole Campbell!)

Fixes bug #3378.
  • Loading branch information
slime73 committed Jul 2, 2016
1 parent b524657 commit d0bd0e485585202ff7091378d51ac292a04e6863
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/uikit/SDL_uikitopenglview.m
@@ -239,7 +239,7 @@ - (void)updateFrame

if (msaaRenderbuffer != 0) {
glBindRenderbuffer(GL_RENDERBUFFER, msaaRenderbuffer);
glRenderbufferStorageMultisample(GL_RENDERBUFFER, samples, GL_RGBA8, backingWidth, backingHeight);
glRenderbufferStorageMultisample(GL_RENDERBUFFER, samples, colorBufferFormat, backingWidth, backingHeight);
}

if (depthRenderbuffer != 0) {

0 comments on commit d0bd0e4

Please sign in to comment.