Skip to content

Commit

Permalink
src/3D/ImageFont.h: Fix the signature of virtual.
Browse files Browse the repository at this point in the history
  • Loading branch information
atupone committed Jul 5, 2024
1 parent f241486 commit 4715841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/3D/ImageFont.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ImageFont
virtual bool isBuilt() const = 0;

virtual void filter(bool dofilter) = 0;
virtual void drawString(float scale, GLfloat color[3], const char *str, int len) = 0;
virtual void drawString(float scale, GLfloat color[4], const char *str, int len) = 0;

float getStrLength(float scale, const char *str, int len) const;
float getStrLength(float scale, const std::string &str) const;
Expand Down

0 comments on commit 4715841

Please sign in to comment.