diff --git a/include/display.hpp b/include/display.hpp index e66593bf..598c6238 100644 --- a/include/display.hpp +++ b/include/display.hpp @@ -172,6 +172,9 @@ namespace Video return *Pixel; } + inline uint16_t GetBitsPerPixel() { return this->framebuffer.BitsPerPixel; } + inline uint64_t GetPitch() { return this->framebuffer.Pitch; } + void Scroll(int Index, int Lines) { if (Lines == 0)