Align OpenGL viewport using top screen edge.

This commit is contained in:
Brandon Wright 2010-11-18 06:40:57 -06:00
parent 2ccee69fee
commit ce8e73a0ac
1 changed files with 1 additions and 1 deletions

View File

@ -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);