summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-10-25 18:47:56 +0000
committerBrian Paul <[email protected]>2002-10-25 18:47:56 +0000
commite781aec85d30182eea1b6dab5fb9dd06594f5671 (patch)
tree52231ec01599b3ab79548e2b2202e1edccf5094d /src
parenta4f0b6884ceb966305181045bbdced013e857d38 (diff)
#include fixes
Diffstat (limited to 'src')
-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 c7be61f0700..1b75864dce0 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 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"