diff options
author | Brian Paul <[email protected]> | 2002-06-15 02:38:15 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-06-15 02:38:15 +0000 |
commit | 4753d60dd070bb08d0116076bcc08025c86ce857 (patch) | |
tree | b1516c35acfa41ae17d575b92b8c776bd530297a /src/mesa/main/imports.c | |
parent | 5e54ddc3a69df060c3ca2acbdd45247e30c947d6 (diff) |
Added ctx parameter to _mesa_debug()
Added _mesa_printf()
Updated SetDrawBuffer() function in all drivers (ala 4.0.3)
Import 4.0.3/DRI changes.
Diffstat (limited to 'src/mesa/main/imports.c')
-rw-r--r-- | src/mesa/main/imports.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index 7b9339498b1..db762eb2c9e 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -1,4 +1,4 @@ -/* $Id: imports.c,v 1.12 2002/06/13 08:27:32 joukj Exp $ */ +/* $Id: imports.c,v 1.13 2002/06/15 02:38:15 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -39,12 +39,20 @@ * the renderer should use the XFree86-wrapped system calls. */ -#include <stdarg.h> +/* + * XXX when we fully implement the __GLimports mechanism in Mesa, that + * should mean that we can remove <stdio.h>, <stdlib.h>, etc, from + * glheader.h. Strictly speaking, all system includes should be done + * from this file, and not glheader to ensure that core Mesa has no + * dependencies on external libraries. Someday... + */ + + #include "glheader.h" #include "imports.h" #include "mem.h" -#include "mtypes.h" + static void * _mesa_Malloc(__GLcontext *gc, size_t size) |