mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-30 22:24:15 +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) {
|
||||
if (layersAvailable.supports(l))
|
||||
layersEnabled.add(l);
|
||||
else
|
||||
throw DxvkError(str::format("Requested layer not installed: ", l));
|
||||
}
|
||||
|
||||
return layersEnabled;
|
||||
|
Loading…
Reference in New Issue
Block a user