summaryrefslogtreecommitdiff
path: root/src/mesa/main/depth.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2011-01-14 15:53:38 -0800
committerEric Anholt <eric@anholt.net>2011-01-14 16:55:35 -0800
commite12c4faf7ef1246fd7c3a9d9dc30130a6675c3b4 (patch)
treecf19ed4b0bed973648a0d17f8efd1f59d764a94d /src/mesa/main/depth.c
parent25beab10cd39a400a0a6d2495cf814d22f346e81 (diff)
mesa: Add support for glDepthRangef and glClearDepthf.
These are ARB_ES2_compatibility float variants of the core double entrypoints. Fixes arb_es2_compatibility-depthrangef.
Diffstat (limited to 'src/mesa/main/depth.c')
-rw-r--r--src/mesa/main/depth.c6
1 files changed, 6 insertions, 0 deletions
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 )