Jump to content
  • Advertisement

Archived

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

sazzer

OpenGL OpenGL Crashing PC

This topic is 5329 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've recently started to write a simple 3D engine in C# - both as C# and OpenGL practise - and have come to a small problem. The whole thing uses Tao for the opengl side of things, if that makes a difference... I'm playing around with introducing shadows into my scenes - using shadow volumes as my graphics card is too old for the GL_ARB_shadow based shadow maps to work. However, the line Gl.glDepthMask(Gl.GL_FALSE); has an impressive impact on my program, in that it causes the entire PC to just drop dead on me. Has anyone ever heard of this before? And if so, why is it doing it? I have googled for it, but didn't find anything so this was my next port of call... EDIT: Problem solved. Was a stupid mistake of having the glClear call come before the depth buffer writing was re-enabled... [edited by - sazzer on January 14, 2004 5:46:43 PM]

Share this post


Link to post
Share on other sites
Advertisement
quote:
EDIT: Problem solved. Was a stupid mistake of having the glClear call come before the depth buffer writing was re-enabled...

That shouldn''t actually cause it to crash.

Share this post


Link to post
Share on other sites
quote:
Original post by benjamin bunny
quote:
EDIT: Problem solved. Was a stupid mistake of having the glClear call come before the depth buffer writing was re-enabled...

That shouldn''t actually cause it to crash.


That''s what I thought - which is why I didn''t notice it for ages. Swapping it round seems to have totally cleared up that problem though. and since I didn''t change anything else it''s all I can think of...

Now just need to work on the rest of the algorithm

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!