summaryrefslogtreecommitdiff
path: root/tests/projects/android/native_app/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/android/native_app/src/main.cpp')
-rw-r--r--tests/projects/android/native_app/src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/projects/android/native_app/src/main.cpp b/tests/projects/android/native_app/src/main.cpp
index 42f5b9a37..b7dda5d34 100644
--- a/tests/projects/android/native_app/src/main.cpp
+++ b/tests/projects/android/native_app/src/main.cpp
@@ -1,8 +1,13 @@
#include <raylib.h>
+#include <android/log.h>
+
+#define LOG_TAG "raydemo_android"
+#define LOGI(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__)
int main(int argc, char** argv) {
InitWindow(0, 0, "Hello, xmake for raylib android!");
SetTargetFPS(60);
+ LOGI("raylib application is running!");
while (!WindowShouldClose()) {
BeginDrawing();