Jump to content
  • Advertisement
Sign in to follow this  

OpenGL glClearBuffer on GL_TEXTURE_2D_ARRAY

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

Ok i have noticed the weirdest thing ever. When i use a GL_TEXTURE_2D in my glFramebufferTexture2D and call glClearBufferiv it works fine. But when i change it to GL_TEXTURE_2D_ARRAY and use glFramebufferTexture3D and assign the texture index i want to assign glClearBufferfv throws Invalid frame buffer operation which is not part of the error list on the kronos opengl 4.0 spec sheet. So i am wondering if anyone ever had any problem setting an Texture array index and call glClearBuffer with it.

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!