0

SDL has an SDL_Flip() function for swapping screen buffers.

What is the equivalent in SDL.NET? There is no Screen.Flip() method.

Buggieboy
  • 4,636
  • 4
  • 55
  • 79

1 Answers1

2

It's not called Flip, it's Update:

Video.Screen.Update();
robbrit
  • 17,560
  • 4
  • 48
  • 68
  • For hardware that supports double-buffering, regular SDL distinguishes between SDL_Flip() and SDL_UpdateRect(). Are you saying that this distinction doesn't exist in SDL.NET? – Buggieboy Jul 28 '11 at 18:17
  • The distinction is made through overloading. Update() with no arguments is Flip(). Update(Rectangle) is UpdateRect(). – robbrit Jul 28 '11 at 18:20