From 04829da616dd4c48a293eff726605c7804695705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 20 Sep 2012 22:44:45 +0200 Subject: [PATCH] Mesh::setFrontFace() should be static (and inline). --- src/Mesh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mesh.h b/src/Mesh.h index faeaf4642..61001fcfe 100644 --- a/src/Mesh.h +++ b/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(mode)); }