Code works in indirect context but not in direct context?


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


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

it could be as so much things as we could ‘devinate’…


This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.