Jump to content
  • Advertisement
Sign in to follow this  
Wilds

OpenGL glBindBuffer cube map GL_INVALID_ENUM error

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

Hello users!

I have the following problem, when binding my cubemap in my draw calls I get an error, I tried some thins but can;t seem to find the problem.

I get the following intercept log.

GL ERROR - Function glBindBuffer(GL_TEXTURE_CUBE_MAP,6) generated error GL_INVALID_ENUM
GL ERROR - Function glBindBuffer(GL_TEXTURE_CUBE_MAP,0) generated error GL_INVALID_ENUM
ImageManager::Destructor - OpenGL id 1 is still active. (Image Memory leak?)
ImageManager::Destructor - OpenGL id 2 is still active. (Image Memory leak?)
ImageManager::Destructor - OpenGL id 3 is still active. (Image Memory leak?)
ImageManager::Destructor - OpenGL id 4 is still active. (Image Memory leak?)
ImageManager::Destructor - OpenGL id 5 is still active. (Image Memory leak?)
ImageManager::Destructor - OpenGL id 6 is still active. (Image Memory leak?)
ShaderGLSLManager::Destructor - OpenGL id 18 is still active. (ShaderGLSL Memory leak?)
ShaderGLSLManager::Destructor - OpenGL id 16 is still active. (ShaderGLSL Memory leak?)
ShaderGLSLManager::Destructor - OpenGL id 17 is still active. (ShaderGLSL Memory leak?)


My gDEBugger states that I have memory leaks like above and some problems with my context while I am sure that I am creating my context correct.
I am calling the correct glDeleteTextures functions on exit. Edited by Wilds

Share this post


Link to post
Share on other sites
Advertisement
I am specifying the correct parameters.

EDIT

Oh damn I am programming to much, my head is getting all fuzzy :/ stupid error Edited by Wilds

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.

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!