Skip to content

Commit

Permalink
check for GL_CLAMP_TO_EDGE
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Jan 24, 2024
1 parent a479b3e commit ab7eaf1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions RFont.h
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,10 @@ size_t RFont_draw_text_len(RFont_font* font, const char* text, size_t len, float
#define GL_TEXTURE0 0x84C0
#endif

#ifndef GL_CLAMP_TO_EDGE
#define GL_CLAMP_TO_EDGE 0x812F
#endif

#ifdef RFONT_DEBUG

#ifndef GL_DEBUG_TYPE_ERROR
Expand Down

0 comments on commit ab7eaf1

Please sign in to comment.