1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 15:27:34 +00:00

Let's have an RGBA32 typedef for raw pixel data.

This commit is contained in:
Andreas Kling 2019-01-10 05:36:32 +01:00
parent df799e6d7b
commit 305aa25aae
7 changed files with 27 additions and 23 deletions

View file

@ -9,7 +9,7 @@
RootWidget::RootWidget()
{
setWindowRelativeRect(FrameBuffer::the().rect());
m_backing = GraphicsBitmap::create_wrapper(size(), (byte*)FrameBuffer::the().scanline(0));
m_backing = GraphicsBitmap::create_wrapper(size(), FrameBuffer::the().scanline(0));
}
RootWidget::~RootWidget()