fix: compiler warnings

This commit is contained in:
2021-09-02 10:48:14 +02:00
parent fe86bffc2e
commit 04d1e3c0bf
22 changed files with 74 additions and 79 deletions

View File

@@ -21,7 +21,6 @@
namespace Display {
static GLFWwindow* window;
static bool closeRequested = false;
static int lastWidth = 0, lastHeight = 0;
static float aspectRatio;
@@ -83,7 +82,7 @@ bool isCloseRequested() {
return glfwWindowShouldClose(window);
}
const bool isMouseDown(int button) {
bool isMouseDown(int button) {
return glfwGetMouseButton(window, button);
}