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

@ -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();