tags:

views:

38

answers:

0

I'm seeing a certain call to glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, 0) regularly (not always though) fail with GL_INVALID_VALUE on NVidia (Quadro FX 4600 here, but happens also on other cards) hardware, with the newest (258.49) drivers (but similarly this also happened with older drivers).

GPU memory is not nearly depleted so that one can be ruled out.

According to khronos.org this should never happen (GL_INVALID_VALUE should only be issued if texture and level is non-zero).

Any idea what might cause this?