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.


glClearBuffer on GL_TEXTURE_2D_ARRAY


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 BornToCode   Members   -  Reputation: 936

Like
0Likes
Like

Posted 03 November 2013 - 08:55 PM

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.



Sponsor:

#2 BornToCode   Members   -  Reputation: 936

Like
0Likes
Like

Posted 03 November 2013 - 09:30 PM

I solved it.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS