Skip to content
Snippets Groups Projects
Commit 0722796d authored by Jeremy Soller's avatar Jeremy Soller Committed by GitHub
Browse files

Merge pull request #798 from xTibor/fix_text_rendering

Fix vesad text rendering
parents 7ce7b444 d7e61435
No related branches found
No related tags found
No related merge requests found
......@@ -136,7 +136,7 @@ impl Display {
for row in 0..16 {
let row_data = FONT[font_i + row];
for col in 0..8 {
if (row_data >> (7 - col)) & 1 == 1 {
if (row_data >> (8 - col)) & 1 == 1 {
unsafe { *((dst + col * 4) as *mut u32) = color; }
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment