PDA

View Full Version : cyan colored window



gmJamez
12-01-2000, 03:56 PM
i want to put a nice .h together that takes care of ogl init. i've based the code on an already working code that i've done a while ago. however, for some reason i only get a cyan colored window (just like w/o call glClear(..) )

i've checked and rechecked and debugged all night long but can't find any reason for the failure (w/o getting any errors).
could someone please state a list of possible reasons for getting that *!#]@! (censored) cyan?
win2k
thanks in advance, oliver.

[This message has been edited by gmJamez (edited 12-01-2000).]

wire
12-01-2000, 09:03 PM
I'm not really sure in this case, but perhaps did you not call glClearColor()?

glClearColor(0.0f, 0.0f, 0.0f, 1.0f);

wire

gmJamez
12-02-2000, 08:24 AM
if it only were that easy...
as i was saying, the code has worked before..