#include "CmD3D9RenderSystemFactory.h" #include "CmRenderSystem.h" namespace CamelotFramework { void D3D9RenderSystemFactory::create() { #ifdef CM_STATIC_LIB HINSTANCE hInst = GetModuleHandle( NULL ); #else HINSTANCE hInst = GetModuleHandle( "CamelotD3D9RenderSystem.dll" ); #endif RenderSystem::startUp(cm_new(hInst)); } D3D9RenderSystemFactory::InitOnStart D3D9RenderSystemFactory::initOnStart; }