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 2 of 2

Thread: In VB what is the difference in hDC and hRC?

  1. #1
    Junior Member Regular Contributor
    Join Date
    Aug 2002
    Location
    Tulsa,OK
    Posts
    113

    In VB what is the difference in hDC and hRC?

    I know it is a VB question but it is very important for OpenGL programming.

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

    Re: In VB what is the difference in hDC and hRC?

    Judging from those variable names, I'm guessing hDC is an HDC and hRC is an HGLRC. The difference is that the HDC is a handle to the device context for the Window, and the HGLRC is a handle to the rendering context for OpenGL.
    Deiussum
    Software Engineer and OpenGL enthusiast

Posting Permissions

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