Hi again,

I just wanted to share the following function, really handy when your using
clip rects.

sdl/surfaces.lisp

(defun clear-clip-rect (&optional (surface *default-surface*))
  (check-type surface sdl-surface)
  (sdl-base::set-clip-rect (fp surface) (cffi-sys:null-pointer))
  t)


Hope it helps!

-- 
-Nate
_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to