1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00
This commit is contained in:
Mathieu Schroeter 2022-07-15 22:55:38 +02:00
parent cb02c87542
commit 16981e228c
No known key found for this signature in database
GPG Key ID: 8B9145A5FA9DA8A8

View File

@ -112,7 +112,7 @@ public:
void Draw (CPixmap * pPixmap, Point pos, const char * pText, Sint32 slope) void Draw (CPixmap * pPixmap, Point pos, const char * pText, Sint32 slope)
{ {
Uint32 format; Uint32 format;
int access; int access;
SDL_Rect r0; SDL_Rect r0;
@ -137,7 +137,7 @@ public:
SDL_FreeSurface (text); SDL_FreeSurface (text);
} }
SDL_QueryTexture(texOutline, &format, &access, &r0.w, &r0.h); SDL_QueryTexture (texOutline, &format, &access, &r0.w, &r0.h);
r0.x = pos.x; r0.x = pos.x;
r0.y = pos.y; r0.y = pos.y;
@ -166,7 +166,7 @@ public:
} }
SDL_Rect r; SDL_Rect r;
SDL_QueryTexture(texBase, &format, &access, &r.w, &r.h); SDL_QueryTexture (texBase, &format, &access, &r.w, &r.h);
r.x = pos.x + (isRTL ? -1 : 1); r.x = pos.x + (isRTL ? -1 : 1);
r.y = pos.y + 1; r.y = pos.y + 1;