(XDK D3D) Cleanup

This commit is contained in:
twinaphex 2014-06-08 04:38:11 +02:00
parent 327b05d760
commit 0735a8a672

View File

@ -643,19 +643,6 @@ static void render_pass(void *data, const void *frame, unsigned width, unsigned
blit_to_texture(d3d, frame, width, height, pitch);
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_SetViewport(d3d->dev, &d3d->final_viewport);
D3DDevice_SetSamplerState_MinFilter(d3dr, 0, g_settings.video.smooth ? D3DTEXF_LINEAR : D3DTEXF_POINT);