> I assume the address returned is negative, right? This is actually a bug - > "pointer->address" should return an unsigned number. Isn't the second > argument to glBindTexture a non-pointer argument? If yes, just use the > negated address (if I understand correctly, you just have to have a unique > value for the texture name - but I'm not an OpenGL expert).
> glBindTexture lets you create or use a named texture. Calling > glBindTexture with target set to GL_TEXTURE_1D, GL_TEXTURE_2D, > GL_TEXTURE_3D and texture set to the name of the newtexture binds the > texture name to the target. When a texture is bound to a target, the > previous binding for that target is automatically broken. You're right, I was confused about what I was passing to glBindTexture, and by the fact that pointer->address was returning a negative number. It's fixed now, thanks for the help guys! ~Daniel _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
