mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 02:30:18 +01:00
i965: Fix warnings in intel_pixel_read.c.
This commit is contained in:
parent
2c36ed9067
commit
c80ce5ac90
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue