mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Fix compilation for web
This commit is contained in:
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
#include "utils.h" // Required for: TRACELOG() macros
|
#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
|
#define GLFW_INCLUDE_NONE // Disable the standard OpenGL header inclusion on GLFW3
|
||||||
// NOTE: Already provided by rlgl implementation (on glad.h)
|
// NOTE: Already provided by rlgl implementation (on glad.h)
|
||||||
#include "GLFW/glfw3.h" // GLFW3 library: Windows, OpenGL context and Input management
|
#include "GLFW/glfw3.h" // GLFW3 library: Windows, OpenGL context and Input management
|
||||||
@ -21,7 +21,7 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Status:
|
Status:
|
||||||
InitWindow: DRM,
|
InitWindow: DRM,
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -256,4 +256,4 @@ typedef struct CoreData {
|
|||||||
|
|
||||||
extern CoreData CORE;
|
extern CoreData CORE;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user