Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 28 Feb 2012
Offline Last Active Jan 06 2014 04:51 AM

#4946904 Null pointer exception during primitives draw call.

Posted by bullfrog on 06 June 2012 - 06:09 PM

You know what the problem is. The `device` variable is NULL and you are calling draw on it. Step through your code to find why the device is NULL. If you use visual studio, use the call stack.