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/depth.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mesa/main/depth.c') diff --git a/src/mesa/main/depth.c b/src/mesa/main/depth.c index c5a910e144..0bb47731ea 100644 --- a/src/mesa/main/depth.c +++ b/src/mesa/main/depth.c @@ -56,6 +56,12 @@ _mesa_ClearDepth( GLclampd depth ) } +void GLAPIENTRY +_mesa_ClearDepthf( GLclampf depth ) +{ + _mesa_ClearDepth(depth); +} + void GLAPIENTRY _mesa_DepthFunc( GLenum func ) -- cgit v1.2.3