Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: MS-Windows handlers in GLUT-obtaining HDC

  1. #1
    Junior Member Newbie
    Join Date
    May 2003
    Posts
    12

    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

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Oct 2000
    Location
    Fargo, ND
    Posts
    1,755

    Re: MS-Windows handlers in GLUT-obtaining HDC

    Try wglGetCurrentDC().
    Deiussum
    Software Engineer and OpenGL enthusiast

  3. #3
    Guest

    Re: MS-Windows handlers in GLUT-obtaining HDC

    thanks

    it was just in front of my eyes...

    Yoav

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •