PDA

View Full Version : RDC in a splitter... gives me errors



NewROmancer
09-21-2000, 03:54 AM
Is there a chance that if I create an Ogl RDC(rendering device context) in a splitter window the code not to work.
The situation is newxt: the same code worked for a window created stand-alone and when it is in a splitter it doesn't show me the pligons. The rendering context is well initialized (i suppose) because the glClearColor(0.69f, 0.69f, 0.69f, 1.0f);
is executed.

But when I try to draw the poligons it simply doesn't draw them (it runs the code gives no error but it doesn't show them). So it is possible such a thing? Since now Ogl haven't given me such error that I couldn't debug.

NewROmancer

NewROmancer
09-22-2000, 02:19 AM
Solved the problem. Thaks anyway!

NewROmancer