Page 1 of 1

Clearing a Buffer

PostPosted: Jul 9, 2002 @ 5:43pm
by Jay Mattis
Is there any way to clear a buffer, specifically with specified color?

PostPosted: Jul 9, 2002 @ 5:46pm
by Jay Mattis
Argh, nevermind! I found it! I'm sorry.

PostPosted: Jul 9, 2002 @ 6:44pm
by Kzinti
To clear a buffer, you use the Clear() method on the display:

DisplayDevice* display = GetDisplay();
display->Clear( Color( r,g,b ) );