From 12b490a515ee8a6f4f03e042c646844384eecc45 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 29 Dec 2022 05:29:43 +0200 Subject: [PATCH] Added GetBitsPerPixel & GetPitch --- include/display.hpp | 3 +++ 1 file changed, 3 insertions(+) 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)