summaryrefslogtreecommitdiff
path: root/src/honey.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/honey.c')
-rw-r--r--src/honey.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/honey.c b/src/honey.c
index b6f783f..e9396f1 100644
--- a/src/honey.c
+++ b/src/honey.c
@@ -28,6 +28,10 @@ honey_window honey_setup(int screen_width, int screen_height, char* window_title
return NULL;
}
+ // Enable blending
+ glEnable(GL_BLEND);
+ glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
+
return window;
}