summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/ggi/ggimesa.c
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/mesa/drivers/ggi/ggimesa.c
parenta4f0b6884ceb966305181045bbdced013e857d38 (diff)
#include fixes
Diffstat (limited to 'src/mesa/drivers/ggi/ggimesa.c')
-rw-r--r--src/mesa/drivers/ggi/ggimesa.c3
1 files changed, 2 insertions, 1 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)