(D3D) Fix cg_d3d9_renderchain_free

This commit is contained in:
twinaphex 2015-04-06 21:57:19 +02:00
parent 5c2829d479
commit a1217a9e08

View File

@ -768,11 +768,13 @@ void cg_d3d9_renderchain_free(void *data)
return; return;
cg_d3d9_renderchain_deinit_shader(); cg_d3d9_renderchain_deinit_shader();
#if 0
cg_d3d9_renderchain_clear(chain); cg_d3d9_renderchain_clear(chain);
cg_d3d9_renderchain_destroy_stock_shader(chain); cg_d3d9_renderchain_destroy_stock_shader(chain);
if (chain->tracker) if (chain->tracker)
state_tracker_free(chain->tracker); state_tracker_free(chain->tracker);
cg_d3d9_renderchain_deinit(); #endif
//cg_d3d9_renderchain_deinit();
} }
void *cg_d3d9_renderchain_new(void) void *cg_d3d9_renderchain_new(void)