mirror of
https://github.com/nicbarker/clay.git
synced 2026-02-06 12:48:49 +00:00
uintptr_t to void*
This commit is contained in:
parent
9e36d370eb
commit
e8fe2e5270
8 changed files with 23 additions and 24 deletions
|
|
@ -23,7 +23,7 @@ typedef struct app_state {
|
|||
ClayVideoDemo_Data demoData;
|
||||
} AppState;
|
||||
|
||||
static inline Clay_Dimensions SDL_MeasureText(Clay_StringSlice text, Clay_TextElementConfig *config, uintptr_t userData)
|
||||
static inline Clay_Dimensions SDL_MeasureText(Clay_StringSlice text, Clay_TextElementConfig *config, void *userData)
|
||||
{
|
||||
TTF_Font *font = gFonts[config->fontId];
|
||||
int width, height;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue