Skip to content

Commit

Permalink
Fix for Purr Data compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
agraef committed Mar 4, 2024
1 parent 1f6e054 commit bc94d35
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pdlua_gfx.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ void pdgui_vmess(const char* message, const char* format, ...)
gfx_not_implemented();
}

// this has an extra argument in vanilla

int wrap_hostfontsize(int fontsize, int zoom)
{
return sys_hostfontsize(fontsize);
}

#define sys_hostfontsize wrap_hostfontsize

#endif

#define MAX(a, b) (((a) > (b)) ? (a) : (b))
Expand Down

0 comments on commit bc94d35

Please sign in to comment.