Skip to content

Commit

Permalink
check for RFONT_GET_WORLD_X
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Dec 23, 2024
1 parent aed830d commit fb6507c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RFont.h
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ inline void RFont_render_legacy(u8 legacy);
#include "stb_truetype.h"
#endif

#ifdef RFONT_GET_TEXPOSX
#ifndef RFONT_GET_TEXPOSX
#define RFONT_GET_TEXPOSX(x) (float)((float)(x) / (float)(RFONT_ATLAS_WIDTH))
#define RFONT_GET_TEXPOSY(y) (float)((float)(y) / (float)(RFONT_ATLAS_HEIGHT))
#endif
Expand Down

0 comments on commit fb6507c

Please sign in to comment.