mirror of https://github.com/snes9xgit/snes9x.git
Align OpenGL viewport using top screen edge.
This commit is contained in:
parent
5a5d3f9192
commit
f6039eb1a0
|
@ -170,7 +170,7 @@ S9xOpenGLDisplayDriver::update (int width, int height)
|
|||
w = allocation.width; h = allocation.height;
|
||||
S9xApplyAspect (x, y, w, h);
|
||||
|
||||
glViewport (x, y, w, h);
|
||||
glViewport (x, allocation.height-y-h, w, h);
|
||||
window->set_mouseable_area (x, y, w, h);
|
||||
|
||||
update_texture_size (width, height);
|
||||
|
|
Loading…
Reference in New Issue