mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 09:39:56 +00:00
(360) Build fix
This commit is contained in:
parent
4522fbb6af
commit
afbe0b0666
@ -515,8 +515,7 @@ static void d3d_draw_texture(void *data)
|
|||||||
#if defined(_XBOX360)
|
#if defined(_XBOX360)
|
||||||
#define D3DTexture_Blit(d3d, desc, d3dlr, frame, width, height, pitch) \
|
#define D3DTexture_Blit(d3d, desc, d3dlr, frame, width, height, pitch) \
|
||||||
d3d->tex->GetLevelDesc(0, &desc); \
|
d3d->tex->GetLevelDesc(0, &desc); \
|
||||||
XGCopySurface(d3dlr.pBits, d3dlr.Pitch, width, height, desc.Format, NULL, frame,
|
XGCopySurface(d3dlr.pBits, d3dlr.Pitch, width, height, desc.Format, NULL, frame, pitch, desc.Format, NULL, 0, 0)
|
||||||
pitch, desc.Format, NULL, 0, 0)
|
|
||||||
#else
|
#else
|
||||||
#define D3DTexture_Blit(d3d, desc, d3dlr, frame, width, height, pitch) \
|
#define D3DTexture_Blit(d3d, desc, d3dlr, frame, width, height, pitch) \
|
||||||
for (unsigned y = 0; y < height; y++) \
|
for (unsigned y = 0; y < height; y++) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user