OpenGL Editor

Started by
2 comments, last by RoastBeef 22 years, 10 months ago
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
Don't resist RoastBeef - You know you're hungry
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
Don't resist RoastBeef - You know you're hungry
http://www.gamedev.net/reference/programming/features/3dmfc/
http://www.codeguru.com/opengl/index.shtml

http://members.xoom.com/myBollux
Thanks alot zedzeek, I''m checking them out now

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

This topic is closed to new replies.

Advertisement