View Full Version : code works in indirect context but not in direct context ??

06-25-2003, 11:51 PM

i haev a very smal test program which only creates an X window and the rendering loop only clears the window to a bkg color.

if i use an indirect context it works.
if i use a direct context i get a black window (and no errors!),

and the thing is that other openGL apps use direct contexts succesfully on this machine.

any ideas??

should i call some extra fucntions when using a direct context like synchronization or ... ???

06-26-2003, 12:53 AM

how are the states of your context ?
what say you glXGetCurrentContext() ?

it could be as so much things as we could 'devinate'..