src/render/direct3d/SDL_render_d3d.c
changeset 7658 4033ba4fcc31
parent 7651 e36a26e969c7
child 7663 53fe1b64eb2d
equal deleted inserted replaced
7657:7a8955fe2f63 7658:4033ba4fcc31
  1833         }
  1833         }
  1834         if (data->currentRenderTarget != NULL) {
  1834         if (data->currentRenderTarget != NULL) {
  1835             IDirect3DSurface9_Release(data->currentRenderTarget);
  1835             IDirect3DSurface9_Release(data->currentRenderTarget);
  1836             data->currentRenderTarget = NULL;
  1836             data->currentRenderTarget = NULL;
  1837         }
  1837         }
  1838 
  1838         if (data->ps_yuv) {
       
  1839             IDirect3DPixelShader9_Release(data->ps_yuv);
       
  1840         }
  1839         if (data->device) {
  1841         if (data->device) {
  1840             IDirect3DDevice9_Release(data->device);
  1842             IDirect3DDevice9_Release(data->device);
  1841         }
  1843         }
  1842         if (data->d3d) {
  1844         if (data->d3d) {
  1843             IDirect3D9_Release(data->d3d);
  1845             IDirect3D9_Release(data->d3d);