2013-02-19 15:38:30 +08:00
|
|
|
#include "main.h"
|
|
|
|
#include "AppDelegate.h"
|
|
|
|
#include "CCEGLView.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;
|
2013-09-02 13:48:39 +08:00
|
|
|
EGLView* eglView = new EGLView();
|
|
|
|
eglView->init("TestCPP",900,640);
|
2013-07-15 16:24:42 +08:00
|
|
|
return Application::getInstance()->run();
|
2013-02-19 15:38:30 +08:00
|
|
|
}
|