29 auto engine = std::make_shared<DX11Engine>(
nullptr, p.
handle, p.
xSize,
33 if (engine->GetDevice())
35 parameters.
engine = engine;
36 parameters.
factory = std::make_shared<HLSLProgramFactory>();
41 LogError(
"Cannot create graphics engine.");
42 parameters.
engine =
nullptr;
virtual void CreateEngineAndProgramFactory(MSWWindow::Parameters ¶meters) override
std::shared_ptr< ProgramFactory > factory
#define LogError(message)
unsigned int deviceCreationFlags
std::shared_ptr< BaseEngine > engine
GTE_IMPEXP WindowSystem TheWindowSystem
D3D_FEATURE_LEVEL featureLevel