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

--- Comment #9 from Benoit Jacob <bja...@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to