diff options
author | Brian Paul <[email protected]> | 2002-06-13 04:28:29 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-06-13 04:28:29 +0000 |
commit | 9a33a11d714c90162d32781ebbd2c1dfab52cfd1 (patch) | |
tree | 00ec2c2fbe1ae59d732c34d2babd0ea7792d6b6a /src/mesa/main/depth.c | |
parent | 1013e4650473ef0aceac7f3cd571b982ff249250 (diff) |
New _mesa_debug() function to replace fprintf() calls.
Some source files updated to call _mesa_debug(), but not finished.
Added __GLimports as a parameter to _mesa_create/init_context() and
updated drivers accordingly.
Fleshed-out more of the __GLimports and __GLexports functionality.
Removed run-time config file support (config.c)
Diffstat (limited to 'src/mesa/main/depth.c')
-rw-r--r-- | src/mesa/main/depth.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/main/depth.c b/src/mesa/main/depth.c index 36daf5c5920..3c25550e948 100644 --- a/src/mesa/main/depth.c +++ b/src/mesa/main/depth.c @@ -1,10 +1,10 @@ -/* $Id: depth.c,v 1.28 2001/03/29 16:50:32 brianp Exp $ */ +/* $Id: depth.c,v 1.29 2002/06/13 04:28:29 brianp Exp $ */ /* * Mesa 3-D graphics library - * Version: 3.5 + * Version: 4.1 * - * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -70,7 +70,7 @@ _mesa_DepthFunc( GLenum func ) ASSERT_OUTSIDE_BEGIN_END(ctx); if (MESA_VERBOSE & (VERBOSE_API|VERBOSE_TEXTURE)) - fprintf(stderr, "glDepthFunc %s\n", _mesa_lookup_enum_by_nr(func)); + _mesa_debug("glDepthFunc %s\n", _mesa_lookup_enum_by_nr(func)); switch (func) { case GL_LESS: /* (default) pass if incoming z < stored z */ @@ -106,7 +106,7 @@ _mesa_DepthMask( GLboolean flag ) ASSERT_OUTSIDE_BEGIN_END(ctx); if (MESA_VERBOSE & (VERBOSE_API|VERBOSE_TEXTURE)) - fprintf(stderr, "glDepthMask %d\n", flag); + _mesa_debug("glDepthMask %d\n", flag); /* * GL_TRUE indicates depth buffer writing is enabled (default) |