mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-28 09:49:18 -05:00
GLAD not used on HTML5
This commit is contained in:
@ -53,8 +53,7 @@
|
|||||||
#include <string.h> // String function definitions, memset()
|
#include <string.h> // String function definitions, memset()
|
||||||
#include <errno.h> // Macros for reporting and retrieving error conditions through error codes
|
#include <errno.h> // Macros for reporting and retrieving error conditions through error codes
|
||||||
|
|
||||||
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
|
#if defined(PLATFORM_DESKTOP)
|
||||||
|
|
||||||
#define GLAD_EXTENSIONS_LOADER
|
#define GLAD_EXTENSIONS_LOADER
|
||||||
#if defined(GLEW_EXTENSIONS_LOADER)
|
#if defined(GLEW_EXTENSIONS_LOADER)
|
||||||
#define GLEW_STATIC
|
#define GLEW_STATIC
|
||||||
@ -62,7 +61,9 @@
|
|||||||
#elif defined(GLAD_EXTENSIONS_LOADER)
|
#elif defined(GLAD_EXTENSIONS_LOADER)
|
||||||
#include "glad.h" // GLAD library: Manage OpenGL headers and extensions
|
#include "glad.h" // GLAD library: Manage OpenGL headers and extensions
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#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
|
||||||
#include <GLFW/glfw3.h> // GLFW3 library: Windows, OpenGL context and Input management
|
#include <GLFW/glfw3.h> // GLFW3 library: Windows, OpenGL context and Input management
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user