diff options
Diffstat (limited to 'Common/NativeApp/src/Android')
| -rw-r--r-- | Common/NativeApp/src/Android/AndroidAppBase.cpp | 5 | ||||
| -rw-r--r-- | Common/NativeApp/src/Android/AndroidMain.cpp | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Common/NativeApp/src/Android/AndroidAppBase.cpp b/Common/NativeApp/src/Android/AndroidAppBase.cpp index 31e2724..4a1a4e2 100644 --- a/Common/NativeApp/src/Android/AndroidAppBase.cpp +++ b/Common/NativeApp/src/Android/AndroidAppBase.cpp @@ -30,6 +30,9 @@ #include <android/native_window_jni.h> //#include <cpu-features.h> +namespace Diligent +{ + int AndroidAppBase::InitDisplay() { if( !initialized_resources_ ) @@ -258,3 +261,5 @@ void AndroidAppBase::UpdateFPS( float fFPS ) app_->activity->vm->DetachCurrentThread(); return; } + +} diff --git a/Common/NativeApp/src/Android/AndroidMain.cpp b/Common/NativeApp/src/Android/AndroidMain.cpp index cc5794c..27fd90c 100644 --- a/Common/NativeApp/src/Android/AndroidMain.cpp +++ b/Common/NativeApp/src/Android/AndroidMain.cpp @@ -31,6 +31,7 @@ #define HELPER_CLASS_NAME "com/android/helper/NDKHelper" //Class name of helper function +using namespace Diligent; // This is the main entry point of a native application that is using // android_native_app_glue. It runs in its own thread, with its own |
