Advertisement

Something ain't right

Started by September 27, 2002 12:12 PM
3 comments, last by arkansas 22 years, 5 months ago
Hi When I call glColor3f(1.0f,0.0f,0.0f); the line or whatever is black. And if I want it white (1.0f,1.0f,1.0f); its kinda green. It is like as if the first value is always 0.0f; What is wrong ???
Have checked your video card settings for OpenGL? Otherwise - maybe you''re blending something, but have forgotten it - check your code. Other than that - heh - sounds rather freaky ...

Crispy
"Literally, it means that Bob is everything you can think of, but not dead; i.e., Bob is a purple-spotted, yellow-striped bumblebee/dragon/pterodactyl hybrid with a voracious addiction to Twix candy bars, but not dead."- kSquared
Advertisement
Hey

Well it can''t be my video card because it has never been like that before. Its doing that since three days now. *WIRED*

And it can''t be the code either.

hmm.. thats extremly freaky
See if you initialize OpenGL in RGBA mode, not color-index.
Hey

I found it out by myself hehe. I forgot that I set the color bits on 16. But that ain''t working in fullscreen mode. So I set it on 32 and now its working. Still big thy for the help.



arkansas

This topic is closed to new replies.

Advertisement