summaryrefslogtreecommitdiff
path: root/src/opengl.h
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.si>2020-04-22 02:36:36 +0200
committerTimotej Lazar <timotej.lazar@araneo.si>2020-05-30 02:32:30 +0200
commitc4409487fdb2822309b9d8cf79bcd7d3895b8390 (patch)
treea1ee3d42957601787121e8784dc7f8088b70a9ce /src/opengl.h
parent8ddbab1cc2ea2f1728db5e584a7dd16a9b9df6b1 (diff)
Const correct (most) strings
At least those cases that are reported by gcc and/or clang.
Diffstat (limited to 'src/opengl.h')
-rw-r--r--src/opengl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/opengl.h b/src/opengl.h
index c5262be..9beb239 100644
--- a/src/opengl.h
+++ b/src/opengl.h
@@ -33,9 +33,9 @@ void ThisFramesRenderingHasFinished();
void D3D_SkyPolygon_Output(POLYHEADER *inputPolyPtr, RENDERVERTEX *renderVerticesPtr);
void D3D_DrawBackdrop();
void D3D_FadeDownScreen(int brightness, int colour);
-void RenderString(char *stringPtr, int x, int y, int colour);
-void RenderStringCentred(char *stringPtr, int centreX, int y, int colour);
-void RenderStringVertically(char *stringPtr, int centreX, int bottomY, int colour);
+void RenderString(const char *stringPtr, int x, int y, int colour);
+void RenderStringCentred(const char *stringPtr, int centreX, int y, int colour);
+void RenderStringVertically(const char *stringPtr, int centreX, int bottomY, int colour);
void D3D_DecalSystem_Setup();
void D3D_DecalSystem_End();
void SecondFlushD3DZBuffer();