View Single Post
Old 04-07-2012, 05:01 AM   #9
Tale
Human being with feelings
 
Tale's Avatar
 
Join Date: Jul 2008
Location: The Netherlands
Posts: 3,646
Default

Quote:
Originally Posted by captain_caveman View Post
It's probably me, although it seems it should work.
Yeah, it's you. The gfx_r, gfx_g, gfx_b and gfx_a variables are all in the 0.0..1.0 range, not 0..255. If you change them accordingly (especially gfx_a), then your drawSquare will work just fine.
Tale is offline   Reply With Quote