BsEditorExec.cpp 385 B

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