From 371f7ce535616da9f092d6263599228a171cb093 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Wed, 13 Dec 2017 20:44:58 +1100 Subject: [PATCH] [client] cosmetics --- client/renderers/opengl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/renderers/opengl.c b/client/renderers/opengl.c index 93516efa..a9ecf78d 100644 --- a/client/renderers/opengl.c +++ b/client/renderers/opengl.c @@ -385,15 +385,15 @@ bool lgr_opengl_on_mouse_shape(void * opaque, const LG_RendererCursor cursor, co glBindTexture(GL_TEXTURE_2D, this->textures[MOUSE_TEXTURE]); glLogicOp(GL_AND); glBegin(GL_TRIANGLE_STRIP); - glTexCoord2f(0.0f, 0.0f); glVertex2i(0 , 0 ); - glTexCoord2f(1.0f, 0.0f); glVertex2i(width, 0 ); + glTexCoord2f(0.0f, 0.0f); glVertex2i(0 , 0 ); + glTexCoord2f(1.0f, 0.0f); glVertex2i(width, 0 ); glTexCoord2f(0.0f, 0.5f); glVertex2i(0 , hheight); glTexCoord2f(1.0f, 0.5f); glVertex2i(width, hheight); glEnd(); glLogicOp(GL_XOR); glBegin(GL_TRIANGLE_STRIP); - glTexCoord2f(0.0f, 0.5f); glVertex2i(0 , 0 ); - glTexCoord2f(1.0f, 0.5f); glVertex2i(width, 0 ); + glTexCoord2f(0.0f, 0.5f); glVertex2i(0 , 0 ); + glTexCoord2f(1.0f, 0.5f); glVertex2i(width, 0 ); glTexCoord2f(0.0f, 1.0f); glVertex2i(0 , hheight); glTexCoord2f(1.0f, 1.0f); glVertex2i(width, hheight); glEnd();