mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 05:21:16 +00:00
SDL2: Properly print white bold text to the screen
This commit is contained in:
parent
28f2d36732
commit
a067466dd8
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ void I_PrintStr(const char *cp)
|
|||
{ // gray
|
||||
if (v < 0.33) attrib = 0x8;
|
||||
else if (v < 0.90) attrib = 0x7;
|
||||
else attrib = 0x15;
|
||||
else attrib = 0xF;
|
||||
}
|
||||
|
||||
printData.AppendFormat("\033[%um",((attrib & 0x8) ? 90 : 30) + (attrib & 0x7));
|
||||
|
|
Loading…
Reference in a new issue