How do you cast or convert an integer into an unsigned integer in Chicken?

I'm learning OpenGL using Chicken and I'm having trouble getting textures to 
work. I have a texture in memory and am getting the address with 
pointer->address, but this returns a regular signed int, which gl:BindTexture 
rejects with "bad argument type - not an unsigned integer".

I can post more code if that will help-- thanks!

~Daniel



_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to