mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 21:45:45 -04:00
GPU: Fix invalid rectangle passed to glScissor
This commit is contained in:
@ -98,12 +98,14 @@ bool SDLInterface::CreateGLContext()
|
||||
return false;
|
||||
}
|
||||
|
||||
#if 0
|
||||
if (GLAD_GL_KHR_debug)
|
||||
{
|
||||
glad_glDebugMessageCallbackKHR(GLDebugCallback, nullptr);
|
||||
// glEnable(GL_DEBUG_OUTPUT);
|
||||
// glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS);
|
||||
glEnable(GL_DEBUG_OUTPUT);
|
||||
glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS);
|
||||
}
|
||||
#endif
|
||||
|
||||
SDL_GL_SetSwapInterval(0);
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user