Hello, i want to use the function glColorPointer, but i dont know how to specify what color to use.
I've got this so far
glColorPointer( 4, GL_UNSIGNED_BYTE, 0, &colorRed );
The problem is, is that &colorRed is still an unidentified object. Cause i dont know how to make it point to a color.
Any idea how to do this?



