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/api_exec.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mesa/main/api_exec.c') diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c index 1427abd107..f1e4f7361f 100644 --- a/src/mesa/main/api_exec.c +++ b/src/mesa/main/api_exec.c @@ -361,6 +361,10 @@ _mesa_create_exec_table(void) SET_PointParameterfvEXT(exec, _mesa_PointParameterfv); #endif + /* 95. GL_ARB_ES2_compatibility */ + SET_ClearDepthf(exec, _mesa_ClearDepthf); + SET_DepthRangef(exec, _mesa_DepthRangef); + /* 97. GL_EXT_compiled_vertex_array */ #if _HAVE_FULL_GL SET_LockArraysEXT(exec, _mesa_LockArraysEXT); -- cgit v1.2.3