catch current color

Started by
1 comment, last by falledAngel 18 years ago
Hello again! I need to catch the last color I'm using I know the command: glGet(CURRENT_COLOR... But I don't know how to take the 4 elements I think the function returns in the second parameter, any idea? thank you
I spent most of my money on booze, women and cars. The rest I just wasted. George Best
Advertisement
GLfloat color[4];glGetFloatv(GL_CURRENT_COLOR, &color[0]);
perfect thx!!!!
I spent most of my money on booze, women and cars. The rest I just wasted. George Best

This topic is closed to new replies.

Advertisement