diff --git a/src/hel/hel.d b/src/hel/hel.d index 051de08..75503b2 100644 --- a/src/hel/hel.d +++ b/src/hel/hel.d @@ -76,6 +76,11 @@ private bool set_graphics_mode() writeln("SetMode: Error %u\n", status); return false; } + bootinfo.fb.buffer = cast(uint *)gop.Mode.FrameBufferBase; + bootinfo.fb.width = gop.Mode.Info.HorizontalResolution; + bootinfo.fb.height = gop.Mode.Info.VerticalResolution; + bootinfo.fb.stride = gop.Mode.Info.PixelsPerScanLine; + bootinfo.fb.format = gop.Mode.Info.PixelFormat; return true; }