Skip to content

Commit

Permalink
Fix OpenGL crash for some drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley authored Jan 24, 2024
1 parent ab7eaf1 commit 01883ff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions RFont.h
Original file line number Diff line number Diff line change
Expand Up @@ -839,8 +839,6 @@ void RFont_opengl_getError() {
u32 RFont_create_atlas(u32 atlasWidth, u32 atlasHeight) {
#if defined(RFONT_DEBUG) && !defined(RFONT_RENDER_LEGACY)
glEnable(GL_DEBUG_OUTPUT);
glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS); // For synchronous output
glDebugMessageCallback(RFont_debugCallback, 0); // Set the callback function
#endif

u32 id = 0;
Expand Down

0 comments on commit 01883ff

Please sign in to comment.