diff options
Diffstat (limited to 'src/mesa/main/depth.c')
-rw-r--r-- | src/mesa/main/depth.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/depth.c b/src/mesa/main/depth.c index 4bc000fd138..930f5e816f9 100644 --- a/src/mesa/main/depth.c +++ b/src/mesa/main/depth.c @@ -90,6 +90,14 @@ depth_func(struct gl_context *ctx, GLenum func, bool no_error) void GLAPIENTRY +_mesa_DepthFunc_no_error(GLenum func) +{ + GET_CURRENT_CONTEXT(ctx); + depth_func(ctx, func, true); +} + + +void GLAPIENTRY _mesa_DepthFunc(GLenum func) { GET_CURRENT_CONTEXT(ctx); |