qmlfrontend/hwengine.cpp
changeset 14292 1aac8a62be6f
parent 14175 8354b390f1a2
child 14294 645e4591361f
--- a/qmlfrontend/hwengine.cpp	Thu Nov 22 00:49:55 2018 +0300
+++ b/qmlfrontend/hwengine.cpp	Thu Nov 22 10:58:55 2018 +0100
@@ -5,7 +5,6 @@
 
 #include "engine_instance.h"
 #include "engine_interface.h"
-#include "game_view.h"
 #include "preview_image_provider.h"
 
 #include "hwengine.h"
@@ -40,6 +39,8 @@
   m_gameConfig.setPreview(true);
 
   EngineInstance engine;
+  engine.sendConfig(m_gameConfig);
+
   Engine::PreviewInfo preview = engine.generatePreview();
 
   QVector<QRgb> colorTable;