Skip to main content
gamedev.net
🔒 Locked

(easy) question

Started by dopedcoder 4 replies 600+ views
Original Post
dopedcoder
dopedcoder
I've got quite a complicated OpenGL app I haven't worked with for a while, and I've broken it. I can't execute display lists I have created, nothing comes out, and also when I get anything on the screen it's in black and white, as if GL_LIGHTING is not enabled, but I know it is. Is there anything else I could've disabled or enabled that would give such flat black and white drawing? thanks in advance
Jouei
Jouei
Well im not sure what the problem is but you can try checking the last error reported by opengl.

and you probaly if you have not make sure that you have good error checking.
I do not think that anyone will beable to answer a question that vague i do not mean to seem like a downer but that is kind of hard to answer just create a function and just check through the state machine and put information for a file for you to check to see what states are enabled.

Regards Jouei.
PaulCesar
PaulCesar
start with your old code backup from when it worked (you DID keep that didnt you?) trace the last known working copy next to the newest copy, and look at the differances.
MARS_999
MARS_999
We need to see your code for your DL and rendering....
ggp83
ggp83
disabling textures usually result in black and white renderings for me :)
dopedcoder
dopedcoder
Duuuuh, not only was I trying to texture without textures enabled, I WASN'T enabling lighting, a stupid bug was disabling it in another thread. Bah. Thanks guys

Topic Locked

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

Sign in to reply to this topic.