View Full Version : use SetDIBitsToDevice with OpenGL Wnd
hougoul
05-24-2002, 01:27 AM
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
V-man
05-24-2002, 11:53 AM
Originally posted by hougoul:
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
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
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.