Added GetBitsPerPixel & GetPitch

This commit is contained in:
Alex 2022-12-29 05:29:43 +02:00
parent b236ca54ee
commit 12b490a515
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -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)