projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf820a0
)
i965: Fix warnings in intel_pixel_read.c.
author
Eric Anholt
<eric@anholt.net>
Mon, 22 Jun 2009 15:52:52 +0000
(08:52 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 4 Sep 2009 21:41:33 +0000
(14:41 -0700)
(cherry picked from commit
c80ce5ac90b1e0ac7a72cd41c314aa2000bfecf5
)
src/mesa/drivers/dri/intel/intel_pixel_read.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_pixel_read.c
b/src/mesa/drivers/dri/intel/intel_pixel_read.c
index 538da28c50e22846ab5371d51d57013891965f2b..0370255614756d521b529198e8d8cfd26d1c52d3 100644
(file)
--- 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)