lispgames / cl-sdl2

Common Lisp bindings for SDL2 using C2FFI.
MIT License
308 stars 82 forks source link

Fix type error in WITH-F-RECTS #160

Open lockie opened 1 year ago

lockie commented 1 year ago

Hello. This tiny PR fixes the following type error in WITH-F-RECTS (as seen by SBCL):

* (sdl2:with-f-rects (rect))

debugger invoked on a TYPE-ERROR @537B975B in thread
#<THREAD "main thread" RUNNING {1001090113}>:
  The value
    0
  is not of type
    SINGLE-FLOAT