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.


System.InvalidOperationException on draw method


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
No replies to this topic

#1 Lysergide   Members   -  Reputation: 705

Like
0Likes
Like

Posted 16 August 2008 - 07:22 AM

Hello All! I'm getting this exception ('System.InvalidOperationException' ) when trying to run the Manipulators example (from Ziggyware site), Running stops at the line when issueing mesh.Draw(SaveStateMode.SaveState); method. This also happens at far simpler projects, such as a new windows game, that is only drawing a simple triangle. Draw command fails.. I've managed to discover than commenting the line "effect.LightingEnabled = true" solved this.. but why ?? Can this be GPU related? i'm using a laptop with a GPU that is less than SM 2.0... Any ideas? Lior.

Sponsor:



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