mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 02:10:28 +00:00
M4: Use OSystem::fillScreen() where possible
This commit is contained in:
parent
bd559de863
commit
4668faf3c0
@ -212,10 +212,8 @@ bool ResizeScreen(void *scrnContent, int32 newW, int32 newH) {
|
||||
}
|
||||
|
||||
static void vmng_black_out_video(int32 x1, int32 y1, int32 x2, int32 y2) {
|
||||
Graphics::Surface *screen = g_system->lockScreen();
|
||||
Common::Rect r(x1, y1, x2 + 1, y2 + 1);
|
||||
screen->fillRect(r, 0);
|
||||
g_system->unlockScreen();
|
||||
g_system->fillScreen(r, 0);
|
||||
}
|
||||
|
||||
bool AddScreenHotkey(void *scrnContent, int32 myKey, HotkeyCB callback) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user