It compiles fine when I am compiling in straight C code, but when I use C++ I get a "can't convert GLbyte* to GLubyte*. I reinterpret the cast, but then I get a linker error. Have you come across this? What are some solutions to get past this problem?