#include "BsD3D9RenderAPIFactory.h" #include "BsRenderAPI.h" namespace BansheeEngine { void D3D9RenderAPIFactory::create() { #ifdef BS_STATIC_LIB HINSTANCE hInst = GetModuleHandle(NULL); #else HINSTANCE hInst = GetModuleHandle("BansheeD3D9RenderSystem.dll"); #endif RenderAPICore::startUp(hInst); } D3D9RenderAPIFactory::InitOnStart D3D9RenderAPIFactory::initOnStart; }