Quote:glCheckFramebufferStatusEXT could 'generate error' only when the parameter is not GL_FRAMEBUFFER_EXT (or when between begin and end, which cant be the case.)
Otherwise, it MUST return framebuffer status, which isnt zero even if framebuffer is incomplete.
yes according to the man page glCheckFramebufferStatus above
but the thing is youre *NOT* using glCheckFramebufferStatus but glCheckFramebufferStatusEXT
+ there if it returns 0 then its an error (according to the spec)
yes it looks like theyve changed the behaviour of the glCheckFramebufferStatusEXT when it became part of the opengl core (usually theres not many if at all changes when extensions are promoted into the core, but it looks like in this case they did change)
edit -
actually I just download the opengl3.0 spec
'If CheckFramebufferStatus
is called within a Begin/End pair, an INVALID OPERATION error is generated.
If CheckFramebufferStatus generates an error, zero is returned.'
thus the same behaviour as ...EXT (so ignore what I said previously)
the page
http://www.khronos.org/opengles/sdk/docs/man/glCheckFramebufferStatus.xml
looks to be wrong