Permalink
Browse files

GLES: Set target w/h in buffered rendering.

Otherwise, the flipped scissors don't update on window resize.

Example: when toggling fullscreen.
  • Loading branch information...
unknownbrackets committed Jul 30, 2017
1 parent f8213a9 commit 7e753ed24a0da143dfba36314b4aab02a5e86b61
Showing with 1 addition and 1 deletion.
  1. +1 −1 UI/EmuScreen.cpp
View
@@ -975,8 +975,8 @@ void EmuScreen::preRender() {
viewport.MaxDepth = 1.0;
viewport.MinDepth = 0.0;
draw->SetViewports(1, &viewport);
draw->SetTargetSize(pixel_xres, pixel_yres);
}
draw->SetTargetSize(pixel_xres, pixel_yres);
}
void EmuScreen::postRender() {

0 comments on commit 7e753ed

Please sign in to comment.