Fixed build of test_color.cpp on non-Windows OSs
This commit is contained in:
parent
c44fd43307
commit
ab99a7865f
2 changed files with 4 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue