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.
glClearBuffer on GL_TEXTURE_2D_ARRAY
1 reply to this topic