summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-12-23 13:03:13 +0100
committerraysan5 <[email protected]>2020-12-23 13:03:13 +0100
commitaa38532cc3d8c1827865d877257c702598e4af40 (patch)
tree59953a3847d594c2ecce58df7a36cdf864667f52 /src
parent9216e963152c5807bc0579c38b7416320e05f1a6 (diff)
downloadraylib-aa38532cc3d8c1827865d877257c702598e4af40.tar.gz
raylib-aa38532cc3d8c1827865d877257c702598e4af40.zip
Remove unused variable
Diffstat (limited to 'src')
-rw-r--r--src/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index 94dfe693..95ee53bf 100644
--- a/src/core.c
+++ b/src/core.c
@@ -1475,7 +1475,7 @@ Vector2 GetMonitorPosition(int monitor)
{
int x, y;
glfwGetMonitorPos(monitors[monitor], &x, &y);
- const GLFWvidmode* mode = glfwGetVideoMode(monitors[monitor]);
+
return (Vector2){ (float)x, (float)y };
}
else TRACELOG(LOG_WARNING, "GLFW: Failed to find selected monitor");