<function name="ClearNamedFramebufferfi">
<param name="framebuffer" type="GLuint" />
<param name="buffer" type="GLenum" />
+ <param name="drawbuffer" type="GLint" />
<param name="depth" type="GLfloat" />
<param name="stencil" type="GLint" />
</function>
*/
void GLAPIENTRY
_mesa_ClearNamedFramebufferfi(GLuint framebuffer, GLenum buffer,
- GLfloat depth, GLint stencil)
+ GLint drawbuffer, GLfloat depth, GLint stencil)
{
GLint oldfb;
_mesa_GetIntegerv(GL_DRAW_FRAMEBUFFER_BINDING, &oldfb);
_mesa_BindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer);
- _mesa_ClearBufferfi(buffer, 0, depth, stencil);
+ _mesa_ClearBufferfi(buffer, drawbuffer, depth, stencil);
_mesa_BindFramebuffer(GL_DRAW_FRAMEBUFFER, (GLuint) oldfb);
}
extern void GLAPIENTRY
_mesa_ClearNamedFramebufferfi(GLuint framebuffer, GLenum buffer,
- GLfloat depth, GLint stencil);
+ GLint drawbuffer, GLfloat depth, GLint stencil);
#endif