mirror of
https://github.com/mupen64plus/mupen64plus-video-arachnoid.git
synced 2024-05-20 04:50:42 -04:00
Set viewport when initializing window
This commit is contained in:
parent
52b2909ae6
commit
4e6356c74a
|
@ -58,6 +58,7 @@ bool OpenGLManager::initialize(bool fullscreen, int width, int height, int bitDe
|
|||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
glEnable(GL_CULL_FACE);
|
||||
this->setViewport(0, 0, width, height);
|
||||
|
||||
//Set render states
|
||||
setCullMode(false, true);
|
||||
|
|
Loading…
Reference in a new issue