|Reference Manual - 1.8.0|
|DFBResult Clear (|
Fills the whole (sub) surface with the specified color while ignoring drawing flags and color of the current state, but limited to the current clip.
As with all drawing and blitting functions the backbuffer is written to. If you are initializing a double buffered surface you may want to clear both buffers by doing a Clear-Flip-Clear sequence.
|This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License|