mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01: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
b524657118
commit
d0bd0e4855
@ -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