Browse Source

Mesh::setFrontFace() should be static (and inline).

vectorfields
Vladimír Vondruš 14 years ago
parent
commit
04829da616
  1. 2
      src/Mesh.h

2
src/Mesh.h

@ -71,7 +71,7 @@ class MAGNUM_EXPORT Mesh {
* Initial value is `FrontFace::%CounterClockWise`.
* @see @fn_gl{FrontFace}
*/
void setFrontFace(FrontFace mode) {
inline static void setFrontFace(FrontFace mode) {
glFrontFace(static_cast<GLenum>(mode));
}

Loading…
Cancel
Save