PDA

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



jadnohra
06-25-2003, 10:51 PM
hello,

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 ... ???

jide
06-25-2003, 11:53 PM
well..

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

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

jide