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.


#ActualHodgman

Posted 18 February 2013 - 01:25 AM

In your screenshot, the error is occuring in the Model class, not your ModelType struct.
It looks like you're calling Model::ReleaseTexture on an object that hasn't been created, or on an object that has been deleted.
e.g.
Model* model;
model->ReleaseTexture();//crash
//or
Model* model = new Model();
delete model;
model->ReleaseTexture();//crash

#1Hodgman

Posted 18 February 2013 - 01:23 AM

In your screenshot, the error is occuring in the Model class, not your ModelType struct.

It looks like you're calling Model::ReleaseTexture after a model has been deleted.

e.g.

Model* model = new Model();
delete model;
model->ReleaseTexture();//crash

PARTNERS