Fixed aarch compile error.

This commit is contained in:
Leonardo Zide
2021-01-12 18:29:11 -08:00
parent 8f30690ee2
commit 1b0a47f692
+2
View File
@@ -336,8 +336,10 @@ void lcContext::SetOffscreenContext()
void lcContext::SetDefaultState()
{
#ifndef LC_OPENGLES
if (QSurfaceFormat::defaultFormat().samples() > 1)
glEnable(GL_LINE_SMOOTH);
#endif
glEnable(GL_DEPTH_TEST);
glDepthFunc(GL_LEQUAL);