Browse Source

Make wizard face the right direction

master
Macoy Madson 1 year ago
parent
commit
b0d70e5b1a
  1. 6
      src/Presentation.cake

6
src/Presentation.cake

@ -344,8 +344,10 @@
(type-cast (* window-height 0.77f) int)
(* 2 106)
(* 2 107)))
(unless (= 0 (SDL_RenderCopy renderer wizard-texture
(addr source-rectangle) (addr destination-rectangle)))
(unless (= 0 (SDL_RenderCopyEx renderer wizard-texture
(addr source-rectangle) (addr destination-rectangle)
0.f null ;; no rotation
SDL_FLIP_HORIZONTAL))
(sdl-print-error)
(set exit-reason "SDL failed to render wizard")))

Loading…
Cancel
Save