Skip to content
Permalink
Browse files

iOS: return SDL_GetWindowSize from SDL_GL_GetDrawableSize if there's …

…no GLES view in the window (matches the behaviour of SDL_GL_GetDrawableSize on other platforms). Addresses bug #4629.
  • Loading branch information
slime73 committed May 26, 2019
1 parent dce56ab commit 9b5811592d6f2764a1ddd111f301aa2fe043587d

File 1 of 1 in 9b58115

@@ -96,6 +96,8 @@ - (void)dealloc
if (h) {
*h = glview.backingHeight;
}
} else {
SDL_GetWindowSize(window, w, h);
}
}
}

0 comments on commit 9b58115

Please sign in to comment.