|
@@ -5,6 +5,9 @@
|
5
|
5
|
* \author xythobuz
|
6
|
6
|
*/
|
7
|
7
|
|
|
8
|
+#define GLFW_INCLUDE_NONE
|
|
9
|
+#include <GLFW/glfw3.h>
|
|
10
|
+
|
8
|
11
|
#include "global.h"
|
9
|
12
|
#include "Log.h"
|
10
|
13
|
#include "RunTime.h"
|
|
@@ -34,7 +37,7 @@ int WindowGLFW::initialize() {
|
34
|
37
|
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
|
35
|
38
|
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
|
36
|
39
|
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
|
37
|
|
- glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
|
|
40
|
+ glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, int(GL_TRUE));
|
38
|
41
|
|
39
|
42
|
window = glfwCreateWindow(size.x, size.y, VERSION,
|
40
|
43
|
fullscreen ? glfwGetPrimaryMonitor() : nullptr, nullptr);
|