projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: plug in GL_ARB_draw_buffers_blend functions
[mesa.git]
/
src
/
mesa
/
main
/
depth.c
diff --git
a/src/mesa/main/depth.c
b/src/mesa/main/depth.c
index f187205b978356c823a2dcc7ab5ac80910d4afc8..0bb47731ea39c7e7539974646fceb2b49c78ea66 100644
(file)
--- 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 )
void GLAPIENTRY
_mesa_DepthFunc( GLenum func )
@@
-153,7
+159,7
@@
_mesa_DepthBoundsEXT( GLclampd zmin, GLclampd zmax )
* Initialize the depth buffer attribute group in the given context.
*/
void
* Initialize the depth buffer attribute group in the given context.
*/
void
-_mesa_init_depth(
GL
context *ctx)
+_mesa_init_depth(
struct gl_
context *ctx)
{
ctx->Depth.Test = GL_FALSE;
ctx->Depth.Clear = 1.0;
{
ctx->Depth.Test = GL_FALSE;
ctx->Depth.Clear = 1.0;