OpenGLContext: Add SupportsNegativeSwapInterval()
This commit is contained in:
@@ -123,7 +123,7 @@ bool OpenGLContextAGL::SwapBuffers()
|
||||
return true;
|
||||
}
|
||||
|
||||
bool OpenGLContextAGL::IsCurrent()
|
||||
bool OpenGLContextAGL::IsCurrent() const
|
||||
{
|
||||
return (m_context != nil && [NSOpenGLContext currentContext] == m_context);
|
||||
}
|
||||
@@ -140,6 +140,11 @@ bool OpenGLContextAGL::DoneCurrent()
|
||||
return true;
|
||||
}
|
||||
|
||||
bool OpenGLContextAGL::SupportsNegativeSwapInterval() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool OpenGLContextAGL::SetSwapInterval(s32 interval)
|
||||
{
|
||||
GLint gl_interval = static_cast<GLint>(interval);
|
||||
|
||||
Reference in New Issue
Block a user