use SetDIBitsToDevice with OpenGL Wnd

I don’t know why but when i use an Opengl window this function doesn’t work SetDIBitsToDevice.

I do a modeler and i would like to see the ray tracing work with this function.

If u have an idear please post an answer

thank

Originally posted by hougoul:
[b]I don’t know why but when i use an Opengl window this function doesn’t work SetDIBitsToDevice.

I do a modeler and i would like to see the ray tracing work with this function.

If u have an idear please post an answer

thank[/b]

You should check for error messages returned. Also, this is a GDI function, so I imagine you will have visibility problems on double buffered opengl window. Might as well go for glDrawPixels.

V-man