Skip to main content
gamedev.net
๐Ÿ”’ Locked

catch current color

Started by falledAngel Apr 17, 2006 at 10:50 AM 1 replies 550+ views
Original Post
falledAngel
falledAngel
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
nefthy
nefthy
GLfloat color[4];glGetFloatv(GL_CURRENT_COLOR, &color[0]);
falledAngel
falledAngel
perfect thx!!!!
I spent most of my money on booze, women and cars. The rest I just wasted. George Best

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.