Store reference to android app in vulkan base class (#97)
This commit is contained in:
parent
f13614e6d2
commit
333eede595
2 changed files with 8 additions and 2 deletions
|
|
@ -15,6 +15,8 @@
|
|||
#include <io.h>
|
||||
#elif defined(__ANDROID__)
|
||||
#include <android/native_activity.h>
|
||||
#include <android/asset_manager.h>
|
||||
#include <android_native_app_glue.h>
|
||||
#include "vulkanandroid.h"
|
||||
#elif defined(__linux__)
|
||||
#include <xcb/xcb.h>
|
||||
|
|
@ -154,7 +156,7 @@ public:
|
|||
HWND window;
|
||||
HINSTANCE windowInstance;
|
||||
#elif defined(__ANDROID__)
|
||||
ANativeWindow* window;
|
||||
android_app* androidApp;
|
||||
#elif defined(__linux__)
|
||||
struct {
|
||||
bool left = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue