diff options
author | Eric Anholt <[email protected]> | 2009-06-22 08:52:52 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2009-06-22 08:52:52 -0700 |
commit | c80ce5ac90b1e0ac7a72cd41c314aa2000bfecf5 (patch) | |
tree | 3be5b9a5b2ed3719c2c834396d66ff4f962ec8f7 /src/mesa/drivers/dri/intel/intel_pixel_read.c | |
parent | 2c36ed90672720966c26a8c27e222ec14b23aae6 (diff) |
i965: Fix warnings in intel_pixel_read.c.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_pixel_read.c')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_pixel_read.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_pixel_read.c b/src/mesa/drivers/dri/intel/intel_pixel_read.c index a7b79592758..74da6d39a2f 100644 --- a/src/mesa/drivers/dri/intel/intel_pixel_read.c +++ b/src/mesa/drivers/dri/intel/intel_pixel_read.c @@ -31,6 +31,7 @@ #include "main/macros.h" #include "main/image.h" #include "main/bufferobj.h" +#include "main/state.h" #include "swrast/swrast.h" #include "intel_screen.h" @@ -299,6 +300,9 @@ intelReadPixels(GLcontext * ctx, if (do_texture_readpixels (ctx, x, y, width, height, format, type, pack, pixels)) return; +#else + (void)do_blit_readpixels; + (void)do_texture_readpixels; #endif if (INTEL_DEBUG & DEBUG_PIXEL) |