Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
<glx vendorpriv="1426" always_array="true"/>
</function>
- <function name="CheckFramebufferStatus" es2="2.0">
+ <function name="CheckFramebufferStatus" es2="2.0" no_error="true">
<param name="target" type="GLenum"/>
<return type="GLenum"/>
<glx vendorpriv="1427"/>
GLenum GLAPIENTRY
+_mesa_CheckFramebufferStatus_no_error(GLenum target)
+{
+ GET_CURRENT_CONTEXT(ctx);
+
+ struct gl_framebuffer *fb = get_framebuffer_target(ctx, target);
+ return _mesa_check_framebuffer_status(ctx, fb);
+}
+
+
+GLenum GLAPIENTRY
_mesa_CheckFramebufferStatus(GLenum target)
{
struct gl_framebuffer *fb;
extern void GLAPIENTRY
_mesa_CreateFramebuffers(GLsizei n, GLuint *framebuffers);
+GLenum GLAPIENTRY
+_mesa_CheckFramebufferStatus_no_error(GLenum target);
+
extern GLenum GLAPIENTRY
_mesa_CheckFramebufferStatus(GLenum target);