diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2002-10-25 18:47:56 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2002-10-25 18:47:56 +0000 |
commit | e781aec85d30182eea1b6dab5fb9dd06594f5671 (patch) | |
tree | 52231ec01599b3ab79548e2b2202e1edccf5094d | |
parent | a4f0b6884ceb966305181045bbdced013e857d38 (diff) |
#include fixes
-rw-r--r-- | src/mesa/drivers/ggi/ggimesa.c | 3 | ||||
-rw-r--r-- | src/mesa/drivers/ggi/include/ggi/mesa/ggimesa.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/ggi/ggimesa.c b/src/mesa/drivers/ggi/ggimesa.c index c7be61f070..1b75864dce 100644 --- a/src/mesa/drivers/ggi/ggimesa.c +++ b/src/mesa/drivers/ggi/ggimesa.c @@ -30,6 +30,7 @@ #include <ggi/mesa/ggimesa_int.h> #include <ggi/mesa/debug.h> #include "extensions.h" +#include "colormac.h" #include "imports.h" #include "matrix.h" #include "swrast/swrast.h" @@ -155,7 +156,7 @@ static GLboolean gl_ggiSetBuffer(GLcontext *ctx, GLframebuffer *buffer, GLuint b { ggi_mesa_context_t ggi_ctx = (ggi_mesa_context_t)ctx->DriverCtx; - printf("set read %d\n", mode); + printf("set read %d\n", bufferBit); GGIMESADPRINT_CORE("gl_ggiSetBuffer() called\n"); if (bufferBit == FRONT_LEFT_BIT) diff --git a/src/mesa/drivers/ggi/include/ggi/mesa/ggimesa.h b/src/mesa/drivers/ggi/include/ggi/mesa/ggimesa.h index 5596e765d4..22e863117b 100644 --- a/src/mesa/drivers/ggi/include/ggi/mesa/ggimesa.h +++ b/src/mesa/drivers/ggi/include/ggi/mesa/ggimesa.h @@ -31,7 +31,7 @@ #include "config.h" #include "context.h" #include "drawpix.h" -#include "mem.h" +#include "imports.h" #include "matrix.h" #include "state.h" #include "mtypes.h" |