mirror of
https://github.com/libretro/RetroArch
synced 2025-04-23 11:43:20 +00:00
(XDK D3D) Cleanup
This commit is contained in:
parent
327b05d760
commit
0735a8a672
@ -643,19 +643,6 @@ static void render_pass(void *data, const void *frame, unsigned width, unsigned
|
|||||||
blit_to_texture(d3d, frame, width, height, pitch);
|
blit_to_texture(d3d, frame, width, height, pitch);
|
||||||
set_vertices(d3d, 1, width, height);
|
set_vertices(d3d, 1, width, height);
|
||||||
|
|
||||||
#if 0
|
|
||||||
#ifdef _XBOX
|
|
||||||
if (g_extern.frame_count)
|
|
||||||
{
|
|
||||||
#ifdef _XBOX1
|
|
||||||
d3dr->SwitchTexture(0, d3d->tex);
|
|
||||||
#elif defined _XBOX360
|
|
||||||
d3dr->SetTextureFetchConstant(0, d3d->tex);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
else if (d3d->tex)
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
RD3DDevice_SetTexture(d3dr, 0, d3d->tex);
|
RD3DDevice_SetTexture(d3dr, 0, d3d->tex);
|
||||||
RD3DDevice_SetViewport(d3d->dev, &d3d->final_viewport);
|
RD3DDevice_SetViewport(d3d->dev, &d3d->final_viewport);
|
||||||
D3DDevice_SetSamplerState_MinFilter(d3dr, 0, g_settings.video.smooth ? D3DTEXF_LINEAR : D3DTEXF_POINT);
|
D3DDevice_SetSamplerState_MinFilter(d3dr, 0, g_settings.video.smooth ? D3DTEXF_LINEAR : D3DTEXF_POINT);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user