1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:48:12 +00:00

WindowServer: Merge WSFrameBuffer into WSScreen.

This commit is contained in:
Andreas Kling 2019-01-18 05:41:15 +01:00
parent bb28c143fd
commit 9454c5dd52
9 changed files with 22 additions and 72 deletions

View file

@ -17,8 +17,9 @@ WSScreen& WSScreen::the()
return *s_the;
}
WSScreen::WSScreen(unsigned width, unsigned height)
: m_width(width)
WSScreen::WSScreen(RGBA32* framebuffer, unsigned width, unsigned height)
: m_framebuffer(framebuffer)
, m_width(width)
, m_height(height)
{
ASSERT(!s_the);