save code
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
#include "android/context.hpp"
|
||||
|
||||
#include "core/util/logging.hpp"
|
||||
#include <jni.h>
|
||||
|
||||
extern "C"
|
||||
@@ -101,4 +101,10 @@ Java_com_khronos_vulkan_1samples_MainActivity_sendArgumentsToPlatform(JNIEnv *en
|
||||
}
|
||||
|
||||
vkb::AndroidPlatformContext::android_arguments = args;
|
||||
}
|
||||
extern "C"
|
||||
JNIEXPORT void JNICALL
|
||||
Java_com_khronos_vulkan_1samples_MainActivity_nativeButtonClicked(JNIEnv *env, jobject thiz) {
|
||||
// TODO: implement nativeButtonClicked()
|
||||
LOGI("call MainActivity_nativeButtonClicked.");
|
||||
}
|
||||
Reference in New Issue
Block a user