From e12c4faf7ef1246fd7c3a9d9dc30130a6675c3b4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 14 Jan 2011 15:53:38 -0800 Subject: mesa: Add support for glDepthRangef and glClearDepthf. These are ARB_ES2_compatibility float variants of the core double entrypoints. Fixes arb_es2_compatibility-depthrangef. --- src/mesa/main/viewport.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/main/viewport.h') diff --git a/src/mesa/main/viewport.h b/src/mesa/main/viewport.h index 909ff92eee5..db4507beaaf 100644 --- a/src/mesa/main/viewport.h +++ b/src/mesa/main/viewport.h @@ -43,6 +43,9 @@ _mesa_set_viewport(struct gl_context *ctx, GLint x, GLint y, extern void GLAPIENTRY _mesa_DepthRange(GLclampd nearval, GLclampd farval); +extern void GLAPIENTRY +_mesa_DepthRangef(GLclampf nearval, GLclampf farval); + extern void _mesa_init_viewport(struct gl_context *ctx); -- cgit v1.2.3