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

void OSystem_Dreamcast::clearOverlay (  ) [virtual]

Reset the overlay.

After calling this method while the overlay mode is active, the user should be seeing only the game graphics. How this is achieved depends on how the backend implements the overlay. Either it sets all pixels of the overlay to be transparent (when alpha blending is used).

Or, in case of fake alpha blending, it might just put a copy of the current game graphics screen into the overlay.

Implements OSystem.

Definition at line 653 of file display.cpp.

Referenced by showOverlay().

{
  if (!_overlay_visible)
    return;

  memset(overlay, 0, OVL_W*OVL_H*sizeof(unsigned short));

  _overlay_dirty = true;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index