|
|
@@ -115,7 +115,7 @@ bool EmuWindow_SDL2::IsShown() const {
|
|
|
|
|
|
void EmuWindow_SDL2::OnResize() {
|
|
|
int width, height;
|
|
|
- SDL_GetWindowSize(render_window, &width, &height);
|
|
|
+ SDL_GL_GetDrawableSize(render_window, &width, &height);
|
|
|
UpdateCurrentFramebufferLayout(width, height);
|
|
|
}
|
|
|
|