Browse Source

Fix selected surface not being initialized to null in surface manager

master
Krisjanis Rijnieks 11 years ago
parent
commit
6ca4834ffb
  1. 7
      src/Surfaces/SurfaceManager.cpp

7
src/Surfaces/SurfaceManager.cpp

@ -2,10 +2,9 @@
namespace ofx {
namespace piMapper {
SurfaceManager::SurfaceManager() {
// Init variables
mediaServer = NULL;
}
SurfaceManager::SurfaceManager() :
mediaServer(NULL),
selectedSurface(NULL) {}
SurfaceManager::~SurfaceManager() { clear(); }

Loading…
Cancel
Save