diff options
Diffstat (limited to 'gfx/window.cpp')
-rw-r--r-- | gfx/window.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gfx/window.cpp b/gfx/window.cpp index 2f94d1a..f7bb125 100644 --- a/gfx/window.cpp +++ b/gfx/window.cpp @@ -14,6 +14,8 @@ Window::Window(int width, int height, const std::string & title) : glEnable(GL_DEPTH_TEST);
glEnable(GL_CULL_FACE);
glCullFace(GL_BACK);
+ glEnable(GL_BLEND);
+ glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
}
void
|