#include fixes
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 25 Oct 2002 18:47:56 +0000 (18:47 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 25 Oct 2002 18:47:56 +0000 (18:47 +0000)
src/mesa/drivers/ggi/ggimesa.c
src/mesa/drivers/ggi/include/ggi/mesa/ggimesa.h

index c7be61f0700be572e2e08a4ca7671d7b8e2f191a..1b75864dce097eac881123711fdc6500720baf6a 100644 (file)
@@ -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) 
index 5596e765d427e9454118de9dade2a86d72e6fec8..22e863117be7409b1061d758a6ba57bba626cb31 100644 (file)
@@ -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"