Skip to content

Commit 8878e16

Browse files
committed
Update
1 parent c00a982 commit 8878e16

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/nbl/system/CApplicationAndroid.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ namespace nbl::system
2020
protected:
2121
virtual void onStateSaved_impl(android_app* params) {}
2222
bool paused = false;
23-
bool initialized = false;
23+
/* bool initialized = false;*/
2424
android_app* m_app;
2525
JNIEnv* m_env;
2626
public:
2727
void pause() { paused = true; }
2828
void resume() { paused = false; }
29-
void initialize() { initialized = true; }
30-
bool isInitialized() const { return initialized; }
29+
//void initialize() { initialized = true; }
30+
//bool isInitialized() const { return initialized; }
3131
bool isPaused() const { return paused; }
3232
android_app* getApp() { return m_app; }
3333
struct SSavedState {
@@ -73,11 +73,11 @@ namespace nbl::system
7373
break;
7474
case APP_CMD_INIT_WINDOW:
7575
{
76-
if (!framework->isInitialized())
76+
/* if (!framework->isInitialized())
7777
{
7878
framework->onAppInitialized();
7979
framework->initialize();
80-
}
80+
}*/
8181

8282
}
8383
break;

0 commit comments

Comments
 (0)