diff options
| author | Yi Jianlong <[email protected]> | 2025-12-15 10:10:35 +0800 |
|---|---|---|
| committer | Yi Jianlong <[email protected]> | 2025-12-15 15:54:41 +0800 |
| commit | 8e63376d62415825aa2836df19ebb7c895aa7a2e (patch) | |
| tree | e7383f5f288453a47c56d1228505348d25d0da4a /tests/projects/android/native_app/src/main.cpp | |
| parent | 7298699afb4e2baf50978cda9b2cc8822170301b (diff) | |
resolve review comments
Diffstat (limited to 'tests/projects/android/native_app/src/main.cpp')
| -rw-r--r-- | tests/projects/android/native_app/src/main.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/projects/android/native_app/src/main.cpp b/tests/projects/android/native_app/src/main.cpp new file mode 100644 index 000000000..4c8253ead --- /dev/null +++ b/tests/projects/android/native_app/src/main.cpp @@ -0,0 +1,21 @@ +#include <raylib.h> + +int main() { + InitWindow(0, 0, "Hello, xmake for raylib android!"); + + SetTargetFPS(60); + + while (!WindowShouldClose()) { // Main game loop + BeginDrawing(); + + ClearBackground(BLACK); + + DrawText("Hello, xmake for raylib android!", 250, 250, 25, BLUE); + + EndDrawing(); + } + + CloseWindow(); + + return 0; +}
\ No newline at end of file |
