Implemented the OSystem framebuffer API, as discussed on scummvm-devel. All changes are just fine, and won't cause any compile problems or regressions, despite the fact that I can't test most of the non-SDL backend changes, at an improbability level of two to the power of two hundred and seventy-six thousand to one against - possibly much higher. Anything you still can't cope with is therefore your own problem. Please relax.
svn-id: r27548
This commit is contained in:
parent
ab9b9a1bf3
commit
b51f2f3212
26 changed files with 217 additions and 144 deletions
|
@ -101,3 +101,8 @@ Common::EventManager *OSystem::getEventManager() {
|
|||
return s_eventManager;
|
||||
}
|
||||
|
||||
void OSystem::clearScreen() {
|
||||
Graphics::Surface *screen = lockScreen();
|
||||
memset(screen->pixels, 0, screen->h * screen->pitch);
|
||||
unlockScreen();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue