summaryrefslogtreecommitdiff
path: root/include/canvas
diff options
context:
space:
mode:
Diffstat (limited to 'include/canvas')
-rw-r--r--include/canvas/rendering/irendermodule.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/canvas/rendering/irendermodule.hxx b/include/canvas/rendering/irendermodule.hxx
index 9eeffa57c828..01dc94413161 100644
--- a/include/canvas/rendering/irendermodule.hxx
+++ b/include/canvas/rendering/irendermodule.hxx
@@ -54,11 +54,11 @@ namespace canvas
/** Type of primitive passed to the render module via
pushVertex()
*/
- enum PrimitiveType
+ enum class PrimitiveType
{
- PRIMITIVE_TYPE_UNKNOWN,
- PRIMITIVE_TYPE_TRIANGLE,
- PRIMITIVE_TYPE_QUAD
+ Unknown,
+ Triangle,
+ Quad
};
virtual ~IRenderModule() {}