Fix compilation for web
This commit is contained in:
parent
1ded340cf1
commit
5d98930da5
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue