summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/ggi/ggimesa.c3
-rw-r--r--src/mesa/drivers/ggi/include/ggi/mesa/ggimesa.h2
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"