mirror of https://github.com/stella-emu/stella.git
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:
parent
738e0aa73d
commit
9dfcd9a468
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue