massung / r-cade

Retro Game Engine for Racket
https://r-cade.io
Other
273 stars 13 forks source link

set-color! not working #13

Closed DexterLagan closed 4 years ago

DexterLagan commented 4 years ago

No matter which parameters I pass to (set-color!), the color is always set to black. Racket 7.5, 7.6, Windows 10, CSFML 2.5, libsndfile-1.0.28.

Steps to reproduce: (set-color! 7 255 255 255) (color 7) (draw ...) -> nothing drawn on black background.

massung commented 4 years ago

I already discovered the problem and it's fixed in a branch. Thanks for finding this.

massung commented 4 years ago

Fixed as of commit fa4afaa8cd80f7515a2a39b07511ea5bb7d63d6a.