Fix Font.cpp not expecting the font colour in BGR
This commit is contained in:
parent
06589ab5ea
commit
8484fc2c2d
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ void DrawText(FontObject *font_object, SDL_Surface *surface, int x, int y, unsig
|
|||
{
|
||||
if (font_object != NULL)
|
||||
{
|
||||
const unsigned char colours[3] = {(unsigned char)(colour >> 16), (unsigned char)(colour >> 8), (unsigned char)colour};
|
||||
const unsigned char colours[3] = {(unsigned char)colour, (unsigned char)(colour >> 8), (unsigned char)(colour >> 16)};
|
||||
|
||||
FT_Face face = font_object->face;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue