build fixes

This commit is contained in:
Bigfoot71 2025-05-17 16:07:04 +02:00
parent 169f7f4ed9
commit 074b68a809
2 changed files with 2 additions and 2 deletions

2
src/external/rlsw.h vendored
View File

@ -158,7 +158,7 @@ typedef double GLclampd;
#define GL_TEXTURE 0x1702 #define GL_TEXTURE 0x1702
#define GL_VERTEX_ARRAY 0x8074 #define GL_VERTEX_ARRAY 0x8074
//#define GL_NORMAL_ARRAY 0x8075 #define GL_NORMAL_ARRAY 0x8075 //< WARNING: Not implemented (defined for RLGL)
#define GL_COLOR_ARRAY 0x8076 #define GL_COLOR_ARRAY 0x8076
//#define GL_INDEX_ARRAY 0x8077 //#define GL_INDEX_ARRAY 0x8077
#define GL_TEXTURE_COORD_ARRAY 0x8078 #define GL_TEXTURE_COORD_ARRAY 0x8078

View File

@ -849,7 +849,7 @@ RLAPI void rlLoadDrawQuad(void); // Load and draw a quad
#define SW_MALLOC(sz) RL_MALLOC(sz) #define SW_MALLOC(sz) RL_MALLOC(sz)
#define SW_REALLOC(ptr, newSz) RL_REALLOC(ptr, newSz) #define SW_REALLOC(ptr, newSz) RL_REALLOC(ptr, newSz)
#define SW_FREE(ptr) RL_FREE(ptr) #define SW_FREE(ptr) RL_FREE(ptr)
#include "./external/rlsw.h" // OpenGL 1.1 software implementation #include "external/rlsw.h" // OpenGL 1.1 software implementation
#else #else
#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