aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/Shapes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Graphics/Shapes.cpp')
-rw-r--r--src/libjin/Graphics/Shapes.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libjin/Graphics/Shapes.cpp b/src/libjin/Graphics/Shapes.cpp
index aef4a1c..b2ef3f8 100644
--- a/src/libjin/Graphics/Shapes.cpp
+++ b/src/libjin/Graphics/Shapes.cpp
@@ -44,7 +44,7 @@ namespace graphics
glDisableClientState(GL_VERTEX_ARRAY);
}
- void circle(RENDER_MODE mode, int x, int y, int r)
+ void circle(RenderMode mode, int x, int y, int r)
{
r = r < 0 ? 0 : r;
@@ -69,13 +69,13 @@ namespace graphics
delete[] coords;
}
- void rect(RENDER_MODE mode, int x, int y, int w, int h)
+ void rect(RenderMode mode, int x, int y, int w, int h)
{
float coords[] = { x, y, x + w, y, x + w, y + h, x, y + h };
polygon(mode, coords, 4);
}
- void triangle(RENDER_MODE mode, int x1, int y1, int x2, int y2, int x3, int y3)
+ void triangle(RenderMode mode, int x1, int y1, int x2, int y2, int x3, int y3)
{
float coords[] = { x1, y1, x2, y2, x3, y3 };
polygon(mode, coords, 3);
@@ -101,7 +101,7 @@ namespace graphics
delete[] verts;
}
- void polygon(RENDER_MODE mode, float* p, int count)
+ void polygon(RenderMode mode, float* p, int count)
{
if (mode == LINE)
{