PS2: Remove custom OSystem::fillScreen implementation as well as clearScreen()
svn-id: r45973
This commit is contained in:
parent
b6b96d9452
commit
9e5b8b4a33
4 changed files with 1 additions and 22 deletions
|
@ -391,20 +391,6 @@ void Gs2dScreen::copyScreenRect(const uint8 *buf, int pitch, int x, int y, int w
|
|||
}
|
||||
}
|
||||
|
||||
void Gs2dScreen::clearScreen(void) {
|
||||
WaitSema(g_DmacSema);
|
||||
memset(_screenBuf, 0, _width * _height);
|
||||
_screenChanged = true;
|
||||
SignalSema(g_DmacSema);
|
||||
}
|
||||
|
||||
void Gs2dScreen::fillScreen(uint32 col) {
|
||||
WaitSema(g_DmacSema);
|
||||
memset(_screenBuf, col, _width * _height);
|
||||
_screenChanged = true;
|
||||
SignalSema(g_DmacSema);
|
||||
}
|
||||
|
||||
Graphics::Surface *Gs2dScreen::lockScreen() {
|
||||
WaitSema(g_DmacSema);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue