mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 15:26:55 -05:00
iOS: Fix an OpenGL ES error when rotating the device if MSAA is used (thanks Cole Campbell!)
Fixes bug #3378.
This commit is contained in:
parent
5bb52655db
commit
6dc00b9806
|
|
@ -239,7 +239,7 @@
|
|||
|
||||
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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user