src/video/uikit/SDL_uikitopenglview.m
changeset 10190 a6ad6813b17b
parent 9998 f67cf37e9cd4
equal deleted inserted replaced
10189:4844b48eb17b 10190:a6ad6813b17b
   237     glGetRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_WIDTH, &backingWidth);
   237     glGetRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_WIDTH, &backingWidth);
   238     glGetRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_HEIGHT, &backingHeight);
   238     glGetRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_HEIGHT, &backingHeight);
   239 
   239 
   240     if (msaaRenderbuffer != 0) {
   240     if (msaaRenderbuffer != 0) {
   241         glBindRenderbuffer(GL_RENDERBUFFER, msaaRenderbuffer);
   241         glBindRenderbuffer(GL_RENDERBUFFER, msaaRenderbuffer);
   242         glRenderbufferStorageMultisample(GL_RENDERBUFFER, samples, GL_RGBA8, backingWidth, backingHeight);
   242         glRenderbufferStorageMultisample(GL_RENDERBUFFER, samples, colorBufferFormat, backingWidth, backingHeight);
   243     }
   243     }
   244 
   244 
   245     if (depthRenderbuffer != 0) {
   245     if (depthRenderbuffer != 0) {
   246         glBindRenderbuffer(GL_RENDERBUFFER, depthRenderbuffer);
   246         glBindRenderbuffer(GL_RENDERBUFFER, depthRenderbuffer);
   247 
   247