Fixed build of test_color.cpp on non-Windows OSs

This commit is contained in:
enricoturri1966 2021-12-22 11:31:35 +01:00
parent c44fd43307
commit ab99a7865f
2 changed files with 4 additions and 2 deletions

View file

@ -5377,7 +5377,9 @@ void GLCanvas3D::_render_overlays()
void GLCanvas3D::_render_volumes_for_picking() const
{
#if !ENABLE_COLOR_CLASSES
static const GLfloat INV_255 = 1.0f / 255.0f;
#endif // !ENABLE_COLOR_CLASSES
// do not cull backfaces to show broken geometry, if any
glsafe(::glDisable(GL_CULL_FACE));