From 210d5ec72bbc4ba426b21f69e6f65b6d75923d05 Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 18 May 2019 01:27:54 +0200 Subject: Update examples to raylib 2.5 -WIP- Remove old examples --- examples/web/textures/textures_image_generation.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'examples/web/textures/textures_image_generation.c') diff --git a/examples/web/textures/textures_image_generation.c b/examples/web/textures/textures_image_generation.c index e5dba4a..25da8a9 100644 --- a/examples/web/textures/textures_image_generation.c +++ b/examples/web/textures/textures_image_generation.c @@ -15,10 +15,6 @@ #include #endif -#if defined(PLATFORM_ANDROID) - #include "android_native_app_glue.h" -#endif - #define NUM_TEXTURES 7 // Currently we have 7 generation algorithms //---------------------------------------------------------------------------------- @@ -39,19 +35,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 - procedural images generation"); -#endif Image verticalGradient = GenImageGradientV(screenWidth, screenHeight, RED, BLUE); Image horizontalGradient = GenImageGradientH(screenWidth, screenHeight, RED, BLUE); @@ -99,9 +87,8 @@ int main(void) CloseWindow(); // Close window and OpenGL context //-------------------------------------------------------------------------------------- -#if !defined(PLATFORM_ANDROID) + return 0; -#endif } //---------------------------------------------------------------------------------- -- cgit v1.2.3