mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-04 10:36:50 +00:00
(D3D) Cleanup
This commit is contained in:
parent
39d371bcbb
commit
ee94ba9a84
@ -1585,13 +1585,15 @@ static bool d3d_frame(void *data, const void *frame,
|
||||
d3d_clear(d3dr, 0, 0, D3DCLEAR_TARGET, 0, 1, 0);
|
||||
}
|
||||
|
||||
if (
|
||||
!renderchain_render(
|
||||
#ifdef _XBOX
|
||||
if (!renderchain_render(d3d, frame, width, height,
|
||||
pitch, d3d->dev_rotation))
|
||||
d3d,
|
||||
#else
|
||||
if (!renderchain_render(d3d->chain, frame, width,
|
||||
height, pitch, d3d->dev_rotation))
|
||||
d3d->chain,
|
||||
#endif
|
||||
frame, width, height,
|
||||
pitch, d3d->dev_rotation))
|
||||
{
|
||||
RARCH_ERR("[D3D]: Failed to render scene.\n");
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user