mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-17 07:16:03 +00:00
Replaced GLEW by GLAD
Removed GLEW external dependency, now it works with GLAD Kept GLEW path, just in case... detected weird behaviour when testing with gDEBugger
This commit is contained in:
@@ -55,7 +55,7 @@
|
|||||||
|
|
||||||
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
|
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
|
||||||
|
|
||||||
#define GLEW_EXTENSIONS_LOADER
|
#define GLAD_EXTENSIONS_LOADER
|
||||||
#if defined(GLEW_EXTENSIONS_LOADER)
|
#if defined(GLEW_EXTENSIONS_LOADER)
|
||||||
#define GLEW_STATIC
|
#define GLEW_STATIC
|
||||||
#include <GL/glew.h> // GLEW extensions loading lib
|
#include <GL/glew.h> // GLEW extensions loading lib
|
||||||
|
12859
src/glad.c
12859
src/glad.c
File diff suppressed because one or more lines are too long
22357
src/glad.h
22357
src/glad.h
File diff suppressed because one or more lines are too long
@@ -46,8 +46,9 @@
|
|||||||
#ifdef __APPLE__ // OpenGL include for OSX
|
#ifdef __APPLE__ // OpenGL include for OSX
|
||||||
#include <OpenGL/gl3.h>
|
#include <OpenGL/gl3.h>
|
||||||
#else
|
#else
|
||||||
#include <GL/glew.h> // GLEW header, includes OpenGL headers
|
//#define GLEW_STATIC
|
||||||
//#include "glad.h" // glad header, includes OpenGL headers
|
//#include <GL/glew.h> // GLEW header, includes OpenGL headers
|
||||||
|
#include "glad.h" // glad header, includes OpenGL headers
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user