Using OpenGL in a regular window (Win32)

Posted by user146780 on Stack Overflow See other posts from Stack Overflow or by user146780
Published on 2010-05-01T18:24:27Z Indexed on 2010/05/01 18:27 UTC
Read the original article Hit count: 149

Filed under:
|
|

I want to use OpenGL in my WndProc but I'm not sure how. I also don't want GL to occupy the whole screen, just a portion of the screen. In the end I basically want to make a drawing win32 app but use OGL instead of GDI. so how can I tell GL to use my control (a panel) 's hdc for drawing?

Thanks

© Stack Overflow or respective owner

Related posts about opengl

Related posts about win32