mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
i965: Fix warnings in intel_pixel_read.c.
(cherry picked from commit c80ce5ac90)
This commit is contained in:
parent
cf820a045f
commit
b2cba25f9e
1 changed files with 4 additions and 0 deletions
|
|
@ -31,6 +31,7 @@
|
||||||
#include "main/macros.h"
|
#include "main/macros.h"
|
||||||
#include "main/image.h"
|
#include "main/image.h"
|
||||||
#include "main/bufferobj.h"
|
#include "main/bufferobj.h"
|
||||||
|
#include "main/state.h"
|
||||||
#include "swrast/swrast.h"
|
#include "swrast/swrast.h"
|
||||||
|
|
||||||
#include "intel_screen.h"
|
#include "intel_screen.h"
|
||||||
|
|
@ -299,6 +300,9 @@ intelReadPixels(GLcontext * ctx,
|
||||||
if (do_texture_readpixels
|
if (do_texture_readpixels
|
||||||
(ctx, x, y, width, height, format, type, pack, pixels))
|
(ctx, x, y, width, height, format, type, pack, pixels))
|
||||||
return;
|
return;
|
||||||
|
#else
|
||||||
|
(void)do_blit_readpixels;
|
||||||
|
(void)do_texture_readpixels;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (INTEL_DEBUG & DEBUG_PIXEL)
|
if (INTEL_DEBUG & DEBUG_PIXEL)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue