mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-25 05:05:32 +00: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) {
|
if (msaaRenderbuffer != 0) {
|
||||||
glBindRenderbuffer(GL_RENDERBUFFER, msaaRenderbuffer);
|
glBindRenderbuffer(GL_RENDERBUFFER, msaaRenderbuffer);
|
||||||
glRenderbufferStorageMultisample(GL_RENDERBUFFER, samples, GL_RGBA8, backingWidth, backingHeight);
|
glRenderbufferStorageMultisample(GL_RENDERBUFFER, samples, colorBufferFormat, backingWidth, backingHeight);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (depthRenderbuffer != 0) {
|
if (depthRenderbuffer != 0) {
|
||||||
|
|
Loading…
Reference in a new issue