From 37e603085675aca97f94cce66fcd5d0fa3d50b1a Mon Sep 17 00:00:00 2001 From: nathan Date: Sun, 27 Jul 2025 05:42:51 -0600 Subject: Skybox working --- src/utils.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h index 08239b8..6532660 100644 --- a/src/utils.h +++ b/src/utils.h @@ -7,6 +7,7 @@ #include #include +#include #include #include "raygui.h" @@ -29,6 +30,13 @@ #define ALLOCATION_ERROR TraceLog(LOG_ERROR, "Allocation error in %s:%d", \ __FILE__, __LINE__) +// GLSL version +#ifdef PLATFORM_DESKTOP + #define GLSL_VERSION 330 +#else // PLATFORM_ANDROID, PLATFORM_WEB + #define GLSL_VERSION 100 +#endif + // Typedef hackery. typedef struct Game Game; typedef struct World World; -- cgit v1.2.3