cade lab fixes
[chaz/yoink] / src / Moof / Core.cc
index cc86a9118afcbd1d51f694ec478bd6c4798c3a58..90027307c081f4050411713d47e24e2bb57a5c87 100644 (file)
@@ -368,7 +368,9 @@ class Backend_
 {
 public:
 
-       void init()
+       Backend_() :
+               mAlDevice(0),
+               mAlContext(0)
        {
 #if defined(_WIN32) || defined(__WIN32__)
                if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER) != 0)
@@ -429,7 +431,6 @@ public:
                if (gRetainCount++ == 0)
                {
                        gInstance = BackendP(new Backend_);
-                       gInstance->init();
                }
        }
 
This page took 0.019586 seconds and 4 git commands to generate.