Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Don't forget to read Tuesday's email newsletter for your chance to win a free copy of Construct 2!


about OpenGL MDI Document!


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   -  Reputation: 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?

Sponsor:

#2 Shag   Members   -  Reputation: 122

Like
Likes
Like

Posted 28 November 2001 - 02:11 AM

Déjà vu

#3 jacksonh   Members   -  Reputation: 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.



PARTNERS