2012-04-19 14:35:52 +08:00
|
|
|
#include "main.h"
|
|
|
|
#include "AppDelegate.h"
|
2012-05-02 17:50:26 +08:00
|
|
|
#include "CCEGLView.h"
|
|
|
|
|
|
|
|
USING_NS_CC;
|
2012-04-19 14:35:52 +08:00
|
|
|
|
|
|
|
int APIENTRY _tWinMain(HINSTANCE hInstance,
|
|
|
|
HINSTANCE hPrevInstance,
|
|
|
|
LPTSTR lpCmdLine,
|
|
|
|
int nCmdShow)
|
|
|
|
{
|
|
|
|
UNREFERENCED_PARAMETER(hPrevInstance);
|
|
|
|
UNREFERENCED_PARAMETER(lpCmdLine);
|
|
|
|
|
|
|
|
// create the application instance
|
|
|
|
AppDelegate app;
|
2013-09-18 17:00:21 +08:00
|
|
|
EGLView eglView;
|
|
|
|
eglView.init("TestCPP",960,640);
|
2013-07-15 16:24:42 +08:00
|
|
|
return Application::getInstance()->run();
|
2012-04-19 14:35:52 +08:00
|
|
|
}
|