src/video/uikit/SDL_uikitopenglview.m
changeset 10190 a6ad6813b17b
parent 9998 f67cf37e9cd4
--- a/src/video/uikit/SDL_uikitopenglview.m	Tue Jun 28 21:15:16 2016 +0200
+++ b/src/video/uikit/SDL_uikitopenglview.m	Sat Jul 02 13:38:31 2016 -0300
@@ -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) {