We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5874423 commit 90a2b0dCopy full SHA for 90a2b0d
1 file changed
src/video/ogc/SDL_ogcgl.c
@@ -84,6 +84,7 @@ SDL_GLContext SDL_OGC_GL_CreateContext(_THIS, SDL_Window * window)
84
context->window = window;
85
context->swap_interval = 1;
86
ogx_initialize();
87
+ glViewport(0, 0, window->w, window->h);
88
if (_this->gl_config.stencil_size > 0) {
89
OgxStencilFlags flags = 0; /* Don't care if Z gets dirty on discarded fragments */
90
if (_this->gl_config.stencil_size > 4) flags |= OGX_STENCIL_8BIT;
0 commit comments