diff options
author | Eric Anholt <[email protected]> | 2011-01-14 15:53:38 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-01-14 16:55:35 -0800 |
commit | e12c4faf7ef1246fd7c3a9d9dc30130a6675c3b4 (patch) | |
tree | cf19ed4b0bed973648a0d17f8efd1f59d764a94d /src/mesa/main/viewport.c | |
parent | 25beab10cd39a400a0a6d2495cf814d22f346e81 (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/viewport.c')
-rw-r--r-- | src/mesa/main/viewport.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/main/viewport.c b/src/mesa/main/viewport.c index d19ae3b6c12..a58697ab370 100644 --- a/src/mesa/main/viewport.c +++ b/src/mesa/main/viewport.c @@ -146,7 +146,11 @@ _mesa_DepthRange(GLclampd nearval, GLclampd farval) } } - +void GLAPIENTRY +_mesa_DepthRangef(GLclampf nearval, GLclampf farval) +{ + _mesa_DepthRange(nearval, farval); +} /** * Initialize the context viewport attribute group. |