Renderer: Rename enums
ExpressionType => BasicType ShaderAst::Type => ShaderExpressionType
This commit is contained in:
@@ -278,6 +278,8 @@ namespace Nz::GL
|
||||
glGetIntegerv(GL_VIEWPORT, res.data());
|
||||
m_state.viewport = { res[0], res[1], res[2], res[3] };
|
||||
|
||||
EnableVerticalSync(false);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -67,6 +67,13 @@ namespace Nz::GL
|
||||
|
||||
void WGLContext::EnableVerticalSync(bool enabled)
|
||||
{
|
||||
if (wglSwapIntervalEXT)
|
||||
{
|
||||
if (!SetCurrentContext(this))
|
||||
return;
|
||||
|
||||
wglSwapIntervalEXT(enabled);
|
||||
}
|
||||
}
|
||||
|
||||
void WGLContext::SwapBuffers()
|
||||
|
||||
Reference in New Issue
Block a user