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:
parent
bb28c143fd
commit
9454c5dd52
9 changed files with 22 additions and 72 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue