Hey guys,
sorry about posting potential bugs in this forum, but the nvidia developer forums still seem to have problems.
The following code worked with prev. drivers, but I get an error now ("GL_INVALID_OPERATION error generated. Texture 0 is base level inconsistent. Check texture size." - card: nv560ti):
Am I missing something or is it a bug?Code :GLuint texid; GLuint fbid; float color[] = {0,0,0,0}; glGenTextures(1, &texid); glTextureStorage2DEXT(texid, GL_TEXTURE_2D, 1, GL_RGBA16F, 128, 128); glGenFramebuffers(1, &fbid); glFramebufferDrawBufferEXT(fbid, GL_COLOR_ATTACHMENT0); glNamedFramebufferTextureEXT(fbid, GL_COLOR_ATTACHMENT0, texid, 0); glBindFramebuffer(GL_DRAW_FRAMEBUFFER, fbid); glClearBufferfv(GL_COLOR, 0, &color[0]); glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0);
Thanks for feedback,
Ambator



