We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fadb760 commit 155bd05Copy full SHA for 155bd05
1 file changed
src/vga/mod.rs
@@ -251,7 +251,7 @@ impl RenderEngine {
251
// Get a pointer into our scan-line buffer
252
let mut scan_line_buffer_ptr = scan_line_buffer.pixel_ptr();
253
let black_pixel = RGBColour(VIDEO_PALETTE[0].load(Ordering::Relaxed));
254
- let white_pixel = RGBColour(VIDEO_PALETTE[15].load(Ordering::Relaxed));
+ let white_pixel = RGBColour(VIDEO_PALETTE[1].load(Ordering::Relaxed));
255
if is_double {
256
// double-width mode.
257
// sixteen RGB pixels (eight pairs) per byte
0 commit comments