mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-28 22:18:30 +00:00
#include header for glInsertEventMarkerEXT on macOS
This commit is contained in:
@@ -74,6 +74,7 @@
|
|||||||
#if defined(GRAPHICS_API_OPENGL_11)
|
#if defined(GRAPHICS_API_OPENGL_11)
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
#include <OpenGL/gl.h> // OpenGL 1.1 library for OSX
|
#include <OpenGL/gl.h> // OpenGL 1.1 library for OSX
|
||||||
|
#include <OpenGL/glext.h>
|
||||||
#else
|
#else
|
||||||
#if defined(_MSC_VER) // Using MSVC compiler, requires some additional definitions
|
#if defined(_MSC_VER) // Using MSVC compiler, requires some additional definitions
|
||||||
// APIENTRY for OpenGL function pointer declarations is required
|
// APIENTRY for OpenGL function pointer declarations is required
|
||||||
@@ -101,6 +102,7 @@
|
|||||||
#if defined(GRAPHICS_API_OPENGL_33)
|
#if defined(GRAPHICS_API_OPENGL_33)
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
#include <OpenGL/gl3.h> // OpenGL 3 library for OSX
|
#include <OpenGL/gl3.h> // OpenGL 3 library for OSX
|
||||||
|
#include <OpenGL/gl3ext.h>
|
||||||
#else
|
#else
|
||||||
#define GLAD_IMPLEMENTATION
|
#define GLAD_IMPLEMENTATION
|
||||||
#if defined(RLGL_STANDALONE)
|
#if defined(RLGL_STANDALONE)
|
||||||
@@ -125,6 +127,7 @@
|
|||||||
#include "shader_distortion.h" // Distortion shader to be embedded
|
#include "shader_distortion.h" // Distortion shader to be embedded
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------
|
||||||
// Defines and Macros
|
// Defines and Macros
|
||||||
//----------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user