From 354d7df4d2779ed7391701d1ef4344e959b64582 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Wed, 27 Dec 2017 19:21:12 +0000 Subject: [Broken] Texture is black. --- yage/core/window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yage/core/window.cpp') 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 #include @@ -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); -- cgit