d3d10: Return D3D10_SVT_VOID instead of 0 from d3d10_variable_type().

This is the same value, but makes it more obvious where e.g. an "Unhandled
basetype D3D10_SVT_VOID." message would come from.
This commit is contained in:
Henri Verbeet 2012-01-03 23:06:52 +01:00 committed by Alexandre Julliard
parent 110aa65e0d
commit 79d1b27333

View file

@ -363,7 +363,7 @@ static D3D10_SHADER_VARIABLE_TYPE d3d10_variable_type(DWORD t, BOOL is_object)
case 21: return D3D10_SVT_SAMPLER;
default:
FIXME("Unknown variable type %#x.\n", t);
return 0;
return D3D10_SVT_VOID;
}
}
else
@ -376,7 +376,7 @@ static D3D10_SHADER_VARIABLE_TYPE d3d10_variable_type(DWORD t, BOOL is_object)
case 4: return D3D10_SVT_BOOL;
default:
FIXME("Unknown variable type %#x.\n", t);
return 0;
return D3D10_SVT_VOID;
}
}
}