[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 05:42:33 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=38312
--- Comment #9 from Benoit Jacob <bjacob at mozilla.com> 2011-06-15 05:42:32 PDT ---
(In reply to comment #3)
> Questions:
>
> 1. In the 'if (!framebuffer)' case, is there a GL error?
>
> 2. If you initialize framebuffer to, say, 0xDEADBEEF before calling
> glGetIntegerv, is it still 0 after?
I made a build initializing as you suggest and logging the GetIntegerv call.
Resulting log:
https://bugzilla.mozilla.org/show_bug.cgi?id=659842#c74
Relevant part:
framebuffer info:
[gl:0x197d3f0] > void mozilla::gl::GLContext::fGetIntegerv(GLenum, GLint*)
[gl:0x197d3f0] < void mozilla::gl::GLContext::fGetIntegerv(GLenum, GLint*)
[0x0000]
default framebuffer. No FBO is currently bound.
That means that GetIntegerv did not generate any error (the [0x0000]) and
really did set the result to 0 (did not just leave it uninitialized).
--
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