summaryrefslogtreecommitdiffhomepage
path: root/examples/web/text/text_format_text.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/web/text/text_format_text.c')
-rw-r--r--examples/web/text/text_format_text.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/examples/web/text/text_format_text.c b/examples/web/text/text_format_text.c
index 13ecb9a..f205f75 100644
--- a/examples/web/text/text_format_text.c
+++ b/examples/web/text/text_format_text.c
@@ -15,10 +15,6 @@
#include <emscripten/emscripten.h>
#endif
-#if defined(PLATFORM_ANDROID)
- #include "android_native_app_glue.h"
-#endif
-
//----------------------------------------------------------------------------------
// Global Variables Definition
//----------------------------------------------------------------------------------
@@ -37,19 +33,11 @@ void UpdateDrawFrame(void); // Update and Draw one frame
//----------------------------------------------------------------------------------
// Main Enry Point
//----------------------------------------------------------------------------------
-#if defined(PLATFORM_ANDROID)
-void android_main(struct android_app *app)
-#else
int main(void)
-#endif
{
// Initialization
//--------------------------------------------------------------------------------------
-#if defined(PLATFORM_ANDROID)
- InitWindow(screenWidth, screenHeight, app);
-#else
InitWindow(screenWidth, screenHeight, "raylib [text] example - text formatting");
-#endif
#if defined(PLATFORM_WEB)
emscripten_set_main_loop(UpdateDrawFrame, 0, 1);
@@ -68,9 +56,8 @@ int main(void)
//--------------------------------------------------------------------------------------
CloseWindow(); // Close window and OpenGL context
//--------------------------------------------------------------------------------------
-#if !defined(PLATFORM_ANDROID)
+
return 0;
-#endif
}
//----------------------------------------------------------------------------------