NathanSweet 446327b1f8 Dropped support for cocos2d-x 3.0 and 3.1.
Will support only the latest 3.x.
2014-08-31 16:50:51 +02:00

23 lines
530 B
C++

#include "main.h"
#include "../Classes/AppDelegate.h"
USING_NS_CC;
int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);
// create the application instance
AppDelegate app;
auto director = Director::getInstance();
auto glview = GLView::create("Spine Example");
glview->setFrameSize(960, 640);
director->setOpenGLView(glview);
return Application::getInstance()->run();
}