[Mesa-dev] [Bug 38312] Swrast doesn't really know whether a Framebuffer object is bound

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 15 14:25:21 PDT 2011


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

--- Comment #31 from Brian Paul <brian.e.paul at gmail.com> 2011-06-15 14:25:18 PDT ---
(In reply to comment #28)
> (In reply to comment #27)
> > Created an attachment (id=48014)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=48014)
> > minefield.log.bz2 (no crash at the end)
> 
> Thanks a lot!
> 
> The log shows that glGetIntegerv(FRAMEBUFFER_BINDING, &result) always returns
> 0. Even right after glBindFramebuffer called with a value just returned by
> glGenFramebuffers. Even when a glFramebufferRenderbuffer call succeeds, which
> is incompatible with the FB binding being 0.

I just hacked a piglit fbo test to query GL_FRAMEBUFFER_BINDING after
glBindFramebuffer() and assert that the value returned matches the bind call. 
It works fine here.  I don't know what's going on in your test.  Which version
of Mesa are you using?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list