Minor cleanup

This commit is contained in:
Joshua Granick
2014-02-18 23:16:53 -08:00
parent 95fc064ded
commit 7a76cc4150

View File

@@ -24,8 +24,6 @@ namespace lime {
void CreateMainFrame (FrameCreationCallback inOnFrame, int inWidth, int inHeight, unsigned int inFlags, const char *inTitle, Surface *inIcon) {
AppLog ("Hello1");
sgCallback = inOnFrame;
sgWidth = inWidth;
sgHeight = inHeight;
@@ -68,8 +66,6 @@ namespace lime {
TizenApplication::TizenApplication (void) {
AppLog ("Hello");
//mAccelX = 0;
//mAccelY = 0;
//mAccelZ = 0;
@@ -128,8 +124,6 @@ namespace lime {
bool TizenApplication::OnAppInitializing (Tizen::App::AppRegistry& appRegistry) {
AppLog ("Init!");
Tizen::Ui::Controls::Frame* appFrame = new (std::nothrow) Tizen::Ui::Controls::Frame ();
appFrame->Construct ();
this->AddFrame (*appFrame);
@@ -162,8 +156,6 @@ namespace lime {
mSensorManager->AddSensorListener (*this, Tizen::Uix::Sensor::SENSOR_TYPE_ACCELERATION, interval, true);*/
AppLog ("2");
bool ok = limeEGLCreate (mForm, sgWidth, sgHeight, 2, (sgFlags & wfDepthBuffer) ? 16 : 0, (sgFlags & wfStencilBuffer) ? 8 : 0, 0);
mTimer = new (std::nothrow) Tizen::Base::Runtime::Timer;