mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-06-01 01:07:58 +00:00
Added GetBitsPerPixel & GetPitch
This commit is contained in:
parent
b236ca54ee
commit
12b490a515
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user