From f2fbb2b27c827da073e32795d402a1809f74d8d0 Mon Sep 17 00:00:00 2001 From: Quantum Date: Sat, 22 Jan 2022 16:44:06 -0500 Subject: [PATCH] [client] opengl: make draw functions static --- client/renderers/OpenGL/opengl.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/renderers/OpenGL/opengl.c b/client/renderers/OpenGL/opengl.c index 55857020..c623fb03 100644 --- a/client/renderers/OpenGL/opengl.c +++ b/client/renderers/OpenGL/opengl.c @@ -528,7 +528,8 @@ bool opengl_render(LG_Renderer * renderer, LG_RendererRotate rotate, const bool return true; } -void drawTorus(float x, float y, float inner, float outer, unsigned int pts) +static void drawTorus(float x, float y, float inner, float outer, + unsigned int pts) { glBegin(GL_QUAD_STRIP); for (unsigned int i = 0; i <= pts; ++i) @@ -540,7 +541,8 @@ void drawTorus(float x, float y, float inner, float outer, unsigned int pts) glEnd(); } -void drawTorusArc(float x, float y, float inner, float outer, unsigned int pts, float s, float e) +static void drawTorusArc(float x, float y, float inner, float outer, + unsigned int pts, float s, float e) { glBegin(GL_QUAD_STRIP); for (unsigned int i = 0; i <= pts; ++i)