MS-Windows handlers in GLUT-obtaining HDC

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

Try wglGetCurrentDC().

thanks

it was just in front of my eyes…

Yoav