summaryrefslogtreecommitdiffhomepage
path: root/examples/web/textures/textures_image_processing.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/web/textures/textures_image_processing.c')
-rw-r--r--examples/web/textures/textures_image_processing.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/examples/web/textures/textures_image_processing.c b/examples/web/textures/textures_image_processing.c
index 68b894e..f37b68e 100644
--- a/examples/web/textures/textures_image_processing.c
+++ b/examples/web/textures/textures_image_processing.c
@@ -19,10 +19,6 @@
#include <emscripten/emscripten.h>
#endif
-#if defined(PLATFORM_ANDROID)
- #include "android_native_app_glue.h"
-#endif
-
#define NUM_PROCESSES 8
//----------------------------------------------------------------------------------
@@ -69,19 +65,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 [textures] example - image processing");
-#endif
// NOTE: Textures MUST be loaded after Window initialization (OpenGL context is required)
@@ -111,9 +99,8 @@ int main(void)
CloseWindow(); // Close window and OpenGL context
//--------------------------------------------------------------------------------------
-#if !defined(PLATFORM_ANDROID)
+
return 0;
-#endif
}
//----------------------------------------------------------------------------------