Skip to content

Commit

Permalink
iOS: Fix an OpenGL ES error when rotating the device if MSAA is used …
Browse files Browse the repository at this point in the history
…(thanks Cole Campbell!)

Fixes bug #3378.
  • Loading branch information
slime73 committed Jul 2, 2016
1 parent b524657 commit d0bd0e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/uikit/SDL_uikitopenglview.m
Expand Up @@ -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) {
Expand Down

0 comments on commit d0bd0e4

Please sign in to comment.