Skip to content

Commit

Permalink
maybe this will fix the windows/macos errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Dec 28, 2023
1 parent 05ca36a commit 4ee4191
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions RFont.h
Original file line number Diff line number Diff line change
Expand Up @@ -761,18 +761,18 @@ size_t RFont_draw_text_len(RFont_font* font, const char* text, size_t len, float
return x;
}

#if !defined(RFONT_NO_OPENGL) && !defined(RFONT_NO_GRAPHICS)

#if !defined(RFONT_RENDER_LEGACY) && !defined(RFONT_RENDER_RGL)
#define GL_GLEXT_PROTOTYPES
#endif

#ifndef __APPLE__
#include <GL/gl.h>
#else
#include <OpenGL/gl.h>
#endif

#if !defined(RFONT_NO_OPENGL) && !defined(RFONT_NO_GRAPHICS)

#if !defined(RFONT_RENDER_LEGACY) && !defined(RFONT_RENDER_RGL)
#define GL_GLEXT_PROTOTYPES
#endif

#ifndef GL_PERSPECTIVE_CORRECTION_HINT
#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
#endif
Expand Down

0 comments on commit 4ee4191

Please sign in to comment.