From b1ca6952ed8690a4ed1890c590f2d555c0d42076 Mon Sep 17 00:00:00 2001 From: ColleagueRiley Date: Tue, 7 May 2024 16:20:30 -0400 Subject: [PATCH] define GL_RGB565 types (if not defined) (MACOS) --- src/rlgl.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/rlgl.h b/src/rlgl.h index 56f2c08f1..f72787a21 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -825,6 +825,14 @@ RLAPI void rlLoadDrawQuad(void); // Load and draw a quad #define GL_NUM_EXTENSIONS 0x821D #endif +#ifndef GL_RGB565 +#define GL_RGB565 0x8D62 +#define GL_RGB32F 0x8815 +#define GL_RGBA32F 0x8814 +#define GL_RGB16F 0x881B +#define GL_RGBA16F 0x881A +#endif + #if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_21) /* load OpenGL 2.1 and 3.3