BsEditorExec.cpp 498 B

12345678910111213141516171819202122
  1. #include "stdafx.h"
  2. #include <windows.h>
  3. #include "BsEditorApplication.h"
  4. using namespace CamelotFramework;
  5. using namespace BansheeEditor;
  6. using namespace BansheeEngine;
  7. int CALLBACK WinMain(
  8. _In_ HINSTANCE hInstance,
  9. _In_ HINSTANCE hPrevInstance,
  10. _In_ LPSTR lpCmdLine,
  11. _In_ int nCmdShow
  12. )
  13. {
  14. EditorApplication::startUp(cm_new<EditorApplication>(RenderSystemPlugin::DX11));
  15. EditorApplication::instance().runMainLoop();
  16. EditorApplication::shutDown();
  17. return 0;
  18. }