Reverted the usage of OSG_UNUSED and OT_UNUSED as in hindsight these should never have been merged. Adding code to quieten
inappropriate warnings is a bad programming practice and does not desrve a place in the OSG code base.
This commit is contained in:
@@ -110,8 +110,6 @@ void DrawArrayLengths::draw(State& state, bool) const
|
||||
}
|
||||
if (mode==GL_POLYGON) mode = GL_TRIANGLE_FAN;
|
||||
if (mode==GL_QUAD_STRIP) mode = GL_TRIANGLE_STRIP;
|
||||
#else
|
||||
OSG_UNUSED(state);
|
||||
#endif
|
||||
|
||||
GLint first = _first;
|
||||
|
||||
Reference in New Issue
Block a user