Skip to content

Commit

Permalink
fixed GL_CLAMP_TO_EDGE error
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Jan 24, 2024
1 parent d84e5d7 commit 4183219
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deps/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 4183219

Please sign in to comment.