From 92bdbb9c2e56542294de8f32533f9131ed7d18d1 Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Wed, 24 Aug 2016 20:06:37 +0300 Subject: [PATCH] Enable alpha blending before drawing surfaces --- src/Surfaces/SurfaceStack.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Surfaces/SurfaceStack.cpp b/src/Surfaces/SurfaceStack.cpp index 4871433..2e7eea4 100644 --- a/src/Surfaces/SurfaceStack.cpp +++ b/src/Surfaces/SurfaceStack.cpp @@ -35,6 +35,7 @@ void SurfaceStack::swap(int a, int b){ } void SurfaceStack::draw(){ + ofEnableAlphaBlending(); for(int i = 0; i < _surfaces.size(); ++i){ _surfaces[i]->draw(); }