PDA

View Full Version : MS-Windows handlers in GLUT-obtaining HDC



srebyoav
04-15-2003, 02:47 PM
Hi There

I'm using GLUT but I need windows HDC handler. Is there an easy way of obtaining it without hacking the code?

Thanks for your help
Yoav

Deiussum
04-16-2003, 04:20 AM
Try wglGetCurrentDC().

04-16-2003, 04:45 AM
thanks http://www.opengl.org/discussion_boards/ubb/smile.gif

it was just in front of my eyes...

Yoav