chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Unsigned int conversion and OpenGL


From: Daniel Dewey
Subject: [Chicken-users] Unsigned int conversion and OpenGL
Date: Tue, 3 Jun 2008 03:42:04 -0400 (EDT)
User-agent: SquirrelMail/1.5.1 [CVS]

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]