Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

about OpenGL MDI Document!

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 foreveryung   Members   

122
Like
Likes
Like

Posted 28 November 2001 - 01:32 AM

I just want to know in a OpenGL MDI Document,when I built another new window, need I set up a new rendering context and device context? And need to initialize them and wglMakeCurrent(hdc,hglrc) on _each_ rendering with dc and hglrc of active window ? maybe need a lot of resource right?

#2 Shag   Members   

122
Like
Likes
Like

Posted 28 November 2001 - 02:11 AM

Déjà vu

#3 jacksonh   Members   

122
Like
Likes
Like

Posted 28 November 2001 - 04:39 AM

The few times that I''ve had to do that I did create the extra context and had to use wglMakeCurrent each time a window was selected....there could be a better way though. Try reading this article I am sure it says something about it: http://www.gamedev.net/reference/programming/features/3dmfc/




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.