https://bugs.freedesktop.org/show_bug.cgi?id=90162
--- Comment #5 from Tapani Pälli <lem...@gmail.com> --- These errors are according to the spec and happen because of following reason. ---- 8< ---- OpenGL 4.0 Compatibility, page 449: If the value of FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE is NONE, no framebuffer is bound to target. In this case querying pname FRAMEBUFFER_- ATTACHMENT_OBJECT_NAME will return zero, and all other queries will generate an INVALID_OPERATION error. ---- 8< ---- In the application before all other queries, you'll need to query for attachment object type: glGetFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, &type); If type is GL_NONE, then other queries should not be made. Please resolve as NOTABUG if you agree with this. -- You are receiving this mail because: You are the QA Contact for the bug.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev