I get this error 1286 when running my nxPascal framebuffer demo. It works fine, i see textured cube with framebuffer effect. Although i'd like to get rid of the error if possible.
GL_INVALID_FRAMEBUFFER_OPERATION = $0506; (1286 in dec)

I traced the error down to my model (cube) rendering at glDrawElements. Then in this link:
http://www.khronos.org/opengles/sdk/...awElements.xml
GL_INVALID_FRAMEBUFFER_OPERATION is generated if the currently bound framebuffer is not framebuffer complete (i.e. the return value from glCheckFramebufferStatus is not GL_FRAMEBUFFER_COMPLETE).
And so i have checked that too before using glDrawElements with:
Code:
function TNXGL.CanRender: boolean;
begin
  result:=glCheckFramebufferStatus(GL_FRAMEBUFFER)=GL_FRAMEBUFFER_COMPLETE;
end;
If checked CanRender at beginning of rendering loop, and if false, skip rest until window is ready to render, and it returned true.

Starting to be out of ideas... I can simply comment out the ShowMessage(...error here...), but then i won't have peace of mind