Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Tree Penguin

Multiple OpenGL buffers???

This topic is 5336 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am using an MDI interface with OpenGL child(s) and i got a problem: When i have multiple windows opened only the last one is drawn correctly, the others look like the same buffer is used and when i resize them the image gets more and more scattered (eventually it looks like you've simply taken a random piece of memory and drawn that to the screen. (when i close the last window the others keep on acting the same). Does anyone know how to fix it, how to prevent multiple windows using the same OpenGL buffer? Thanks in advance! ps. I am using VC++ 6.0, MFC, MDI [edited by - Tree Penguin on January 11, 2004 5:22:32 PM]

Share this post


Link to post
Share on other sites
Advertisement
I''ve never done MDI applications, MFC applications, or multiple OpenGL windows but maybe there''s a CS_OWNDC type setting for the windows? They need to not share GDI memory obviously. Just a suggestion, I''m not sure how much I could actually help though

Share this post


Link to post
Share on other sites
Check out my LlamaGL V2 under NeHe''s downloads. Piece apart my class and you''ll see how to use multiple windows. You need to treat each window as a different program.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!