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
|
@ -1,6 +1,6 @@
|
|||
#include "Process.h"
|
||||
#include <Widgets/Font.h>
|
||||
#include <WindowServer/WSFrameBuffer.h>
|
||||
#include <WindowServer/WSScreen.h>
|
||||
#include <WindowServer/WSWindowManager.h>
|
||||
#include <WindowServer/WSEventLoop.h>
|
||||
#include <WindowServer/WSWindow.h>
|
||||
|
@ -14,7 +14,7 @@ void WindowServer_main()
|
|||
|
||||
dbgprintf("Screen is %ux%ux%ubpp\n", info.width, info.height, info.bpp);
|
||||
|
||||
WSFrameBuffer framebuffer((dword*)info.framebuffer, info.width, info.height);
|
||||
WSScreen screen((dword*)info.framebuffer, info.width, info.height);
|
||||
|
||||
WSWindowManager::the();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue