From: Brian Paul Date: Fri, 25 Oct 2002 18:47:56 +0000 (+0000) Subject: #include fixes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e781aec85d30182eea1b6dab5fb9dd06594f5671;p=mesa.git #include fixes --- diff --git a/src/mesa/drivers/ggi/ggimesa.c b/src/mesa/drivers/ggi/ggimesa.c index c7be61f0700..1b75864dce0 100644 --- a/src/mesa/drivers/ggi/ggimesa.c +++ b/src/mesa/drivers/ggi/ggimesa.c @@ -30,6 +30,7 @@ #include #include #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 5596e765d42..22e863117be 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"