Jump to content
  • Advertisement

Archived

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

RoastBeef

OpenGL OpenGL Editor

This topic is 6318 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 need some help. I''m writing an editor using OpenGL and Win32, and I have 2 seperate editor dialog windows within a larger window. I have 2 seperate DCs for the windows, and 2 seperate GL Rendering contexts. I draw to one, then switch Rendering contexts using wglMakeCurrent, and draw to the next one. This method works for the most part except for two major things: - I get constant access violations - The Z-buffer doesn''t appear to work I suspect the second problem is a result of the OpenGL z-buffer not being set properly because of the Access violations. I could be wrong though. Someone must know what I''m doing wrong, and know how to get OpenGL working properly in multiple windows with Z-buffer and all. Any help would be REALLY appreciated, as I''ve been at this for a couple weeks now, thank you. Don''t resist RoastBeef - You know you''re hungry

Share this post


Link to post
Share on other sites
Advertisement
Sorry about the identical threads, I got an error the first time and didn''t think it had gone through.

Don''t resist RoastBeef - You know you''re hungry

Share this post


Link to post
Share on other sites
http://www.gamedev.net/reference/programming/features/3dmfc/
http://www.codeguru.com/opengl/index.shtml

http://members.xoom.com/myBollux

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!