mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-15 22:30:20 +01:00
mesa: add KHR_no_error support for glCullFace()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
ac92b75002
commit
d700ade81a
3 changed files with 12 additions and 1 deletions
|
|
@ -1961,7 +1961,7 @@
|
|||
<glx rop="78"/>
|
||||
</function>
|
||||
|
||||
<function name="CullFace" es1="1.0" es2="2.0">
|
||||
<function name="CullFace" es1="1.0" es2="2.0" no_error="true">
|
||||
<param name="mode" type="GLenum"/>
|
||||
<glx rop="79"/>
|
||||
</function>
|
||||
|
|
|
|||
|
|
@ -65,6 +65,14 @@ cull_face(struct gl_context *ctx, GLenum mode)
|
|||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_CullFace_no_error(GLenum mode)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
cull_face(ctx, mode);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_CullFace(GLenum mode)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -39,6 +39,9 @@ struct gl_context;
|
|||
extern void GLAPIENTRY
|
||||
_mesa_GetnPolygonStippleARB( GLsizei bufSize, GLubyte *dest );
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_CullFace_no_error(GLenum mode);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_CullFace(GLenum mode);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue