Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

void OSystem::clearScreen ( void   )  [virtual]

Clear the screen to black.

Definition at line 121 of file system.cpp.

References Graphics::Surface::h, lockScreen(), Graphics::Surface::pitch, Graphics::Surface::pixels, and unlockScreen().

                          {
      Graphics::Surface *screen = lockScreen();
      memset(screen->pixels, 0, screen->h * screen->pitch);
      unlockScreen();
}


Generated by  Doxygen 1.6.0   Back to index