This commit is contained in:
twinaphex 2018-01-23 03:22:00 +01:00
parent e2e411bfa5
commit 7e56ecba4b

View File

@ -3430,8 +3430,6 @@ bool renderchain_d3d_init_first(
const d3d_renderchain_driver_t **renderchain_driver,
void **renderchain_handle)
{
unsigned i;
switch (api)
{
case D3D_COMM_D3D9:
@ -3447,6 +3445,8 @@ bool renderchain_d3d_init_first(
&null_d3d_renderchain,
NULL
};
unsigned i;
for (i = 0; renderchain_d3d_drivers[i]; i++)
{
void *data = renderchain_d3d_drivers[i]->chain_new();
@ -3479,7 +3479,6 @@ bool renderchain_d3d_init_first(
break;
}
return false;
}