Merge pull request #798 from xTibor/fix_text_rendering
Fix vesad text rendering
This commit is contained in:
		
						commit
						0722796def
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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; }
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue