mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
intel: use _mesa_meta_copy_pixels() when do_blit_copypixels() fails
Also, trim down #includes.
This commit is contained in:
parent
be229d24c4
commit
15e6d08670
1 changed files with 1 additions and 5 deletions
|
|
@ -26,18 +26,13 @@
|
|||
**************************************************************************/
|
||||
|
||||
#include "main/glheader.h"
|
||||
#include "main/enums.h"
|
||||
#include "main/image.h"
|
||||
#include "main/state.h"
|
||||
#include "main/mtypes.h"
|
||||
#include "main/macros.h"
|
||||
#include "drivers/common/meta.h"
|
||||
|
||||
#include "intel_screen.h"
|
||||
#include "intel_context.h"
|
||||
#include "intel_batchbuffer.h"
|
||||
#include "intel_buffers.h"
|
||||
#include "intel_blit.h"
|
||||
#include "intel_regions.h"
|
||||
#include "intel_pixel.h"
|
||||
|
||||
|
|
@ -244,5 +239,6 @@ intelCopyPixels(GLcontext * ctx,
|
|||
if (do_blit_copypixels(ctx, srcx, srcy, width, height, destx, desty, type))
|
||||
return;
|
||||
|
||||
/* this will use swrast if needed */
|
||||
_mesa_meta_copy_pixels(ctx, srcx, srcy, width, height, destx, desty, type);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue