mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Warning fixes, refactor
This commit is contained in:
parent
eaf1fa54cd
commit
4f20abe7ea
14 changed files with 67 additions and 55 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue