Update coding style in WSWindowManager.

This commit is contained in:
Andreas Kling
2019-01-18 05:33:35 +01:00
parent dff5051905
commit bb28c143fd
5 changed files with 43 additions and 57 deletions

View File

@@ -15,13 +15,6 @@ WSFrameBuffer& WSFrameBuffer::the()
return *s_the;
}
WSFrameBuffer::WSFrameBuffer(unsigned width, unsigned height)
: WSScreen(width, height)
{
ASSERT(!s_the);
s_the = this;
}
WSFrameBuffer::WSFrameBuffer(RGBA32* data, unsigned width, unsigned height)
: WSScreen(width, height)
, m_data(data)
@@ -35,10 +28,6 @@ WSFrameBuffer::~WSFrameBuffer()
{
}
void WSFrameBuffer::show()
{
}
RGBA32* WSFrameBuffer::scanline(int y)
{
unsigned pitch = sizeof(RGBA32) * width();