mirror of https://github.com/snes9xgit/snes9x.git
Align OpenGL viewport using top screen edge.
This commit is contained in:
parent
2ccee69fee
commit
ce8e73a0ac
|
@ -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