PDA

View Full Version : Data Types and Version



lost hope
07-05-2001, 03:07 PM
Hello -
I am currently trying to draw a bitmap with the following line of code:

glDrawPixels(24 , 8 , GL_RGB , GL_UNSIGNED_BYTE_2_3_3_REV , sword2);

However, I get the following error:
'GL_UNSIGNED_BYTE_2_3_3_REV' : undeclared identifier.

I am unsure why I get this error, and was
wondering if maybe this data type is only available in openGL 1.1 or something? I am unsure what version is installed on my machine, and I was wondering how I could determine that? Thanx.

~lost hope

zed
07-05-2001, 10:19 PM
download the latest version of the glext header (it can be found on this site somewhere sorry not actually sure where though)