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 14:53:24 -0400 (EDT)
User-agent: SquirrelMail/1.5.1 [CVS]

I hope this doesn't post twice, but I'm sending it again...

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 (from Unit lolevel), 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]