moving SDL video surface
- by runrunraygun
Does anyone know how to move my SDL.net video surface around the screen programtically?
Surface videoContext = Video.SetVideoMode(1024, 768, 32, false, false, false, true, true);
var a = System.Windows.Forms.Control.FromHandle(Video.WindowHandle);
var b = System.Windows.Forms.NativeWindow.FromHandle(Video.WindowHandle);
I can't find any properties in Surface or Video which do the job, and FromHandle is returning Null.
The window is initializing falling off the bottom of the screen.
Any ideas?