From 437cf879808fb68a79e7f8325615737f86f434be Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sat, 23 Sep 2017 20:55:08 +0500 Subject: 2017-09-23 --- src/Render.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Render.cpp') diff --git a/src/Render.cpp b/src/Render.cpp index 1473ae0..ffa219a 100644 --- a/src/Render.cpp +++ b/src/Render.cpp @@ -64,9 +64,11 @@ void Render::InitGlew() { glViewport(0, 0, width, height); glClearColor(0.8,0.8,0.8, 1.0f); glEnable(GL_DEPTH_TEST); + glEnable(GL_CULL_FACE); glCullFace(GL_BACK); glFrontFace(GL_CCW); + glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glCheckError(); -- cgit v1.2.3