Nicolas Winkler 5 years ago
parent
commit
1efaaa6a4e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      MandelVideoGenerator.cpp

+ 1 - 1
MandelVideoGenerator.cpp

@@ -12,7 +12,7 @@ MandelVideoGenerator::MandelVideoGenerator(const ExportVideoInfo& evi) :
 void MandelVideoGenerator::generate(void)
 void MandelVideoGenerator::generate(void)
 {
 {
     mnd::MandelContext ctxt = mnd::initializeContext();
     mnd::MandelContext ctxt = mnd::initializeContext();
-    mnd::Generator& gen = *ctxt.getDevices()[0].getGeneratorDouble();
+    mnd::Generator& gen = ctxt.getDefaultGenerator();//*ctxt.getDevices()[0].getGeneratorDouble();
     mnd::MandelInfo mi;
     mnd::MandelInfo mi;
     mi.bWidth = evi.width * 2;
     mi.bWidth = evi.width * 2;
     mi.bHeight = evi.height * 2;
     mi.bHeight = evi.height * 2;