aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/window.cpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-12-27 19:21:12 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-12-27 19:21:12 +0000
commit354d7df4d2779ed7391701d1ef4344e959b64582 (patch)
tree81ecdc8d323cae78a86fb9c99524f57c705eeabc /yage/core/window.cpp
parentf949692714e72a0e2d45ebb6a5d698424ab71dee (diff)
downloadYAGE-354d7df4d2779ed7391701d1ef4344e959b64582.tar.gz
YAGE-354d7df4d2779ed7391701d1ef4344e959b64582.zip
[Broken] Texture is black.
Diffstat (limited to 'yage/core/window.cpp')
-rw-r--r--yage/core/window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/yage/core/window.cpp b/yage/core/window.cpp
index f2f22e3b..5db75074 100644
--- a/yage/core/window.cpp
+++ b/yage/core/window.cpp
@@ -7,7 +7,7 @@
*/
#include "window.h"
-#include "input.h"
+#include "../data/input.h"
#include <glad/glad.h>
#include <GLFW/glfw3.h>
@@ -61,7 +61,7 @@ void Window::create(std::string window_name, int width, int height)
glfwSwapInterval(1);
// set the clear colour to black
- glClearColor(0.f, 0.5f, 0.f, 1.f);
+ glClearColor(0.18f, 0.18f, 0.18f, 1.f);
// set alpha blending
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);