mirror of
https://github.com/leozide/leocad.git
synced 2026-07-28 04:07:11 +00:00
Fixed aarch compile error.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user