[Mesa-dev] [Bug 90162] glGetFramebufferAttachmentParameteriv failing if certain FB attributes are zero

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 13 01:56:51 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90162

--- Comment #8 from Tapani Pälli <lemody at gmail.com> ---
(In reply to Martina Kollarova from comment #7)
> >    glGetFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT,
> >        GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, &type);
> 
> This query generated a GL_INVALID_ENUM for me.

Yep, like stated in comment #6, that seems to be broken. I'm attaching here a
patch to make it work in case you have Mesa from git repository to try. I will
send this patch later to mesa-dev after some careful spec investigation and
testing.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150513/bdf75cd7/attachment.html>


More information about the mesa-dev mailing list