mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2025-04-21 03:51:37 +02:00
Improve error reporting
This commit is contained in:
parent
3d1bc2a042
commit
70a954461e
@ -47,7 +47,7 @@ public:
|
||||
SDL_Rect dst;
|
||||
|
||||
p = TTF_RenderText_Blended(this->font, msg, this->clr);
|
||||
panic_if(!p, "%s\n", TTF_GetError());
|
||||
panic_if(!p, "TTF error for %s: %s\n", msg, TTF_GetError());
|
||||
|
||||
dst = (SDL_Rect){x, y, w, h};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user