Warning fixes, refactor

This commit is contained in:
MihailRis
2023-09-19 23:25:17 +03:00
committed by GitHub
parent eaf1fa54cd
commit 4f20abe7ea
14 changed files with 67 additions and 55 deletions
+3 -3
View File
@@ -4,10 +4,10 @@
#include "Window.h"
GLFWwindow* Window::window;
int Window::width = 0;
int Window::height = 0;
uint Window::width = 0;
uint Window::height = 0;
int Window::initialize(int width, int height, const char* title){
int Window::initialize(uint width, uint height, const char* title){
glfwInit();
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);