Archived

This topic is now archived and is closed to further replies.

KevArnold

glColor3d

Recommended Posts

I am trying to make a winamp plugin, currently all I want to do is draw the waveformData as a line across the screen. I have the following code draw the line: glColor3f(1.0f,0.0f,0.0f) ; glVertex2f(xval, yval) ; glVertex2f(xlast, ylast) ; which should make the line red, or I would think, but it is always grey. Just so you know, I also draw a background and a model if that may be causing a problem. Is there something I might be doing wrong? Any thoughts would be greatly appreciated. Thanks

Share this post


Link to post
Share on other sites