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 ofx {
namespace piMapper { namespace piMapper {
SurfaceManager::SurfaceManager() { SurfaceManager::SurfaceManager() :
// Init variables mediaServer(NULL),
mediaServer = NULL; selectedSurface(NULL) {}
}
SurfaceManager::~SurfaceManager() { clear(); } SurfaceManager::~SurfaceManager() { clear(); }

Loading…
Cancel
Save