##### UpdateOverlayDisplay

##### Applies to

TDirectDrawSurface

##### Declaration

procedure UpdateOverlayDisplay( Flags: Longint );

##### Description

Calls the interface UpdateOverlayDisplay method to repaint the rectangles in the dirty rectangle list of all active overlays. This clears the dirty rectangle list. See IDirectDrawSurface3::UpdateOverlayDisplay for more information.

See also AddOverlayDirtyRect.