Jump to content
  • Advertisement
Sign in to follow this  
FGFS

OpenGL memory leak

This topic is 2032 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

Advertisement

You're question is a bit vague. What did you mean with integrating? Did you copy the code or did you write your own code based on it? Have you already tried tools like this? And to be certain, what programming language are you using?

Share this post


Link to post
Share on other sites

PS: Solved, it needed a GLuint cast.

 

 

 

Thanks. It seems to boil down that I need to add glDeleteTextures:

XPLMBindTexture2d(gTexture[8], 0);
...
glDeleteTextures(1, &gTexture[8]);

I get:
Invalid arguments ' Candidates are: void glDeleteTextures(int, const unsigned int *)
gTexture is defined as:
XPLMTextureID gTexture[MAX_TEXTURES];
 

Any ideas? Thanks again

Edited by FGFS

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!