Fix compilation for web

This commit is contained in:
ubkp 2023-09-20 07:38:36 -03:00
parent 1ded340cf1
commit 5d98930da5

View file

@ -9,7 +9,7 @@
#include "utils.h" // Required for: TRACELOG() macros
#if defined(PLATFORM_DESKTOP)
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
#define GLFW_INCLUDE_NONE // Disable the standard OpenGL header inclusion on GLFW3
// NOTE: Already provided by rlgl implementation (on glad.h)
#include "GLFW/glfw3.h" // GLFW3 library: Windows, OpenGL context and Input management
@ -21,7 +21,7 @@
/*
Status:
InitWindow: DRM,
InitWindow: DRM,
*/
@ -256,4 +256,4 @@ typedef struct CoreData {
extern CoreData CORE;
#endif
#endif