bugzilla-daemon | 1 Jan 2008 17:26

[Bug 13757] [FBO]IsFramebufferEXT should return true for names created by GenFramebuffersEXT

http://bugs.freedesktop.org/show_bug.cgi?id=13757

brian.paul <at> tungstengraphics.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

------- Comment #2 from brian.paul <at> tungstengraphics.com  2008-01-01 08:26 PST -------
I believe Mesa is correct as-is.  The GL_EXT_framebuffer_object spec says:

"""
    The command

      void GenFramebuffersEXT(sizei n, uint *ids);

    returns <n> previously unused framebuffer object names in <ids>.
    These names are marked as used, for the purposes of
    GenFramebuffersEXT only, but they acquire state and type only when
    they are first bound, just as if they were unused.
"""

So the ID doesn't really name an FBO until the ID has been bound.
This is consistant with NVIDIA's GL.  It works the same way for texture objects
too.

--

-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
(Continue reading)


Gmane