JOGL Int Functions

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

JOGL Int Functions

Turelim
Hii everybody!!!
i have a question... JOGL supports OpenGL int functions?, because glColor3ui doesn't work, it set the color to black, someone knows why this happen??
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Int Functions

gouessej
Administrator
Hi

Java has no unsigned types, it isn't a limitation of JOGL. Rather use glColor3i. Use only glColor3ui when you read an unsigned integer from a file and when you put it into a signed integer variable.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Int Functions

Turelim
thx for the advise :D