OpenGL Error Codes

From OpenGL Wiki
Revision as of 16:52, 2 October 2008 by V-man (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returned by glGetError()
GL_INVALID_ENUM
GL_INVALID_VALUE
GL_INVALID_OPERATION
GL_STACK_OVERFLOW
GL_STACK_UNDERFLOW
GL_OUT_OF_MEMORY

Note : GL 3.0 required for core FBO support.
Returned by glGetError() when FBO supported
GL_INVALID_FRAMEBUFFER_OPERATION

Note : GL 3.0 required for core FBO support.
Returned by glCheckFramebufferStatus(GL_FRAMEBUFFER), glCheckFramebufferStatus(GL_DRAW_BUFFER), glCheckFramebufferStatus(GL_READ_BUFFER)
GL_FRAMEBUFFER_COMPLETE
GL_FRAMEBUFFER_UNSUPPORTED
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS
GL_FRAMEBUFFER_INCOMPLETE_FORMATS
GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER
GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER
GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE