Gui: Remove QtOpenGL.h.

This commit is contained in:
Joao Matos
2025-02-24 21:16:27 +00:00
parent 91e94ba1dd
commit 3b05b61de2
27 changed files with 73 additions and 58 deletions

View File

@@ -411,10 +411,9 @@ bool MeshRenderer::matchMaterial(SoState* state) const
return p->pcolors == pcolors;
}
bool MeshRenderer::shouldRenderDirectly(bool direct)
bool MeshRenderer::shouldRenderDirectly([[maybe_unused]] bool direct)
{
#ifdef RENDER_GL_VAO
(void)direct;
return false;
#else
return direct;