From 423d17af8666121fbe22021813e078d38a4fe46d Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Mon, 19 Oct 2015 19:17:44 +0200 Subject: [PATCH] Reset color to white before drawing each of the surfaces --- src/Surfaces/SurfaceManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Surfaces/SurfaceManager.cpp b/src/Surfaces/SurfaceManager.cpp index b3e15cb..5f0e757 100644 --- a/src/Surfaces/SurfaceManager.cpp +++ b/src/Surfaces/SurfaceManager.cpp @@ -10,6 +10,7 @@ SurfaceManager::~SurfaceManager() { clear(); } void SurfaceManager::draw() { for (int i = 0; i < surfaces.size(); i++) { + ofSetColor(255, 255, 255, 255); surfaces[i]->draw(); } }