mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
mesa: add KHR_no_error support to glBindTextures()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
90f691b5be
commit
d952485d7c
3 changed files with 13 additions and 1 deletions
|
|
@ -23,7 +23,7 @@
|
|||
<param name="sizes" type="const GLsizeiptr *"/>
|
||||
</function>
|
||||
|
||||
<function name="BindTextures">
|
||||
<function name="BindTextures" no_error="true">
|
||||
<param name="first" type="GLuint"/>
|
||||
<param name="count" type="GLsizei"/>
|
||||
<param name="textures" type="const GLuint *"/>
|
||||
|
|
|
|||
|
|
@ -1872,6 +1872,14 @@ bind_textures(struct gl_context *ctx, GLuint first, GLsizei count,
|
|||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_BindTextures_no_error(GLuint first, GLsizei count, const GLuint *textures)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
bind_textures(ctx, first, count, textures, true);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_BindTextures(GLuint first, GLsizei count, const GLuint *textures)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -205,6 +205,10 @@ _mesa_BindTextureUnit_no_error(GLuint unit, GLuint texture);
|
|||
extern void GLAPIENTRY
|
||||
_mesa_BindTextureUnit(GLuint unit, GLuint texture);
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_BindTextures_no_error(GLuint first, GLsizei count,
|
||||
const GLuint *textures);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_BindTextures( GLuint first, GLsizei count, const GLuint *textures );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue