File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ fn kernel_main(boot_info: &'static mut BootInfo) -> ! {
35
35
if ![ 640 , 1024 ] . contains ( & framebuffer. info ( ) . stride ) {
36
36
panic ! ( "unexpected stride `{}`" , framebuffer. info( ) . stride) ;
37
37
}
38
- assert_eq ! ( framebuffer. info( ) . pixel_format, PixelFormat :: RGB ) ;
38
+ assert_eq ! ( framebuffer. info( ) . pixel_format, PixelFormat :: BGR ) ;
39
39
assert_eq ! (
40
40
framebuffer. buffer( ) . len( ) ,
41
41
framebuffer. info( ) . stride
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ fn kernel_main(boot_info: &'static mut BootInfo) -> ! {
35
35
if ![ 640 , 1024 ] . contains ( & framebuffer. info ( ) . stride ) {
36
36
panic ! ( "unexpected stride `{}`" , framebuffer. info( ) . stride) ;
37
37
}
38
- assert_eq ! ( framebuffer. info( ) . pixel_format, PixelFormat :: RGB ) ;
38
+ assert_eq ! ( framebuffer. info( ) . pixel_format, PixelFormat :: BGR ) ;
39
39
assert_eq ! (
40
40
framebuffer. buffer( ) . len( ) ,
41
41
framebuffer. info( ) . stride
You can’t perform that action at this time.
0 commit comments