BsEditorExec.cpp 406 B

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