Beispiel #1
0
 /// <summary>
 /// Clear the screen with a given color
 /// </summary>
 /// <param name="color">The color in hex</param>
 public void Clear(uint color)
 {
     CosmosGLGraphics.Color c = new CosmosGLGraphics.Color((int)color);
     Memory.Memset((uint *)0xE0000000, (uint)color, (uint)(ScreenWidth * ScreenHeight));
 }
Beispiel #2
0
 public void Clear(CosmosGLGraphics.Color color)
 {
     Clear((uint)color.ToHex());
 }