mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-28 09:49:18 -05:00
REVIEWED: macOS does not require GLAD library #2052
It directly uses the libraries provided by the system
This commit is contained in:
@ -24,8 +24,14 @@
|
|||||||
********************************************************************************************/
|
********************************************************************************************/
|
||||||
|
|
||||||
#include "raylib.h"
|
#include "raylib.h"
|
||||||
|
|
||||||
#include "rlgl.h" // Required for: rlDrawRenderBatchActive(), rlGetMatrixModelview(), rlGetMatrixProjection()
|
#include "rlgl.h" // Required for: rlDrawRenderBatchActive(), rlGetMatrixModelview(), rlGetMatrixProjection()
|
||||||
#include "glad.h" // Required for: OpenGL functionality
|
#if defined(__APPLE__)
|
||||||
|
#include <OpenGL/gl3.h> // OpenGL 3 library for OSX
|
||||||
|
#include <OpenGL/gl3ext.h> // OpenGL 3 extensions library for OSX
|
||||||
|
#else
|
||||||
|
#include "glad.h" // Required for: OpenGL functionality
|
||||||
|
#endif
|
||||||
#include "raymath.h" // Required for: MatrixMultiply(), MatrixToFloat()
|
#include "raymath.h" // Required for: MatrixMultiply(), MatrixToFloat()
|
||||||
|
|
||||||
#if defined(PLATFORM_DESKTOP)
|
#if defined(PLATFORM_DESKTOP)
|
||||||
|
|||||||
Reference in New Issue
Block a user