Rev 1888 | Rev 1990 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1888 | Rev 1981 | ||
---|---|---|---|
Line 380... | Line 380... | ||
380 | rgb2scr = rgb_4byte; |
380 | rgb2scr = rgb_4byte; |
381 | scr2rgb = byte4_rgb; |
381 | scr2rgb = byte4_rgb; |
382 | pixelbytes = 4; |
382 | pixelbytes = 4; |
383 | break; |
383 | break; |
384 | default: |
384 | default: |
385 | panic("Unsupported bpp"); |
385 | panic("Unsupported bpp.\n"); |
386 | } |
386 | } |
387 | 387 | ||
388 | unsigned int fbsize = scan * y; |
388 | unsigned int fbsize = scan * y; |
389 | 389 | ||
390 | /* Map the framebuffer */ |
390 | /* Map the framebuffer */ |