A little too much pruning in the last commit broke OpenGL rendering

for Linux and Windows.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2269 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2011-08-17 14:45:54 +00:00
parent 738e0aa73d
commit 9dfcd9a468
1 changed files with 1 additions and 0 deletions

View File

@ -306,6 +306,7 @@ bool FrameBufferGL::setVidMode(VideoMode& mode)
// Initialize GL display
p_glViewport(0, 0, mode.screen_w, mode.screen_h);
p_glMatrixMode(GL_PROJECTION);
p_glLoadIdentity();
p_glOrtho(0.0, mode.screen_w, mode.screen_h, 0.0, -1.0, 1.0);
p_glMatrixMode(GL_MODELVIEW);
p_glLoadIdentity();