summaryrefslogtreecommitdiff
path: root/src/video/opengl.h
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-02-28 10:58:56 +0100
committerMichael Lutz <michi@icosahedron.de>2021-02-28 11:12:13 +0100
commitd79398a1d5cff9286e1d71d21c51b5146f5c8c31 (patch)
treedd1c860e40ec90cafa81b2292f62ab87b6b50958 /src/video/opengl.h
parent4fd2eecb8b21f59b986b9738fd208bcd6f668448 (diff)
downloadopenttd-d79398a1d5cff9286e1d71d21c51b5146f5c8c31.tar.xz
Fix #8763: [OpenGL] Cursor sprite origin can be negative.
Diffstat (limited to 'src/video/opengl.h')
-rw-r--r--src/video/opengl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/opengl.h b/src/video/opengl.h
index 373345063..b66d585e5 100644
--- a/src/video/opengl.h
+++ b/src/video/opengl.h
@@ -70,7 +70,7 @@ private:
const char *Init();
bool InitShaders();
- void RenderOglSprite(OpenGLSprite *gl_sprite, PaletteID pal, uint x, uint y, ZoomLevel zoom);
+ void RenderOglSprite(OpenGLSprite *gl_sprite, PaletteID pal, int x, int y, ZoomLevel zoom);
public:
/** Get singleton instance of this class. */