mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-11 01:24:12 +01:00
Throw error if requested layer is not installed (#100)
* Warn if requested layer is not enabled * Replace warning with hard error
This commit is contained in:
parent
82fc851f32
commit
f582c4e1ce
@ -78,6 +78,8 @@ namespace dxvk {
|
|||||||
for (auto l : layers) {
|
for (auto l : layers) {
|
||||||
if (layersAvailable.supports(l))
|
if (layersAvailable.supports(l))
|
||||||
layersEnabled.add(l);
|
layersEnabled.add(l);
|
||||||
|
else
|
||||||
|
throw DxvkError(str::format("Requested layer not installed: ", l));
|
||||||
}
|
}
|
||||||
|
|
||||||
return layersEnabled;
|
return layersEnabled;
|
||||||
|
Loading…
Reference in New Issue
Block a user