mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 19:24:12 +01:00
[dxvk] Remove needless lambda capture of 'this'.
This commit is contained in:
parent
7a37d88067
commit
13a6ecadcd
@ -151,7 +151,7 @@ namespace dxvk {
|
||||
}
|
||||
|
||||
std::sort(result.begin(), result.end(),
|
||||
[this] (const Rc<DxvkAdapter>& a, const Rc<DxvkAdapter>& b) -> bool {
|
||||
[] (const Rc<DxvkAdapter>& a, const Rc<DxvkAdapter>& b) -> bool {
|
||||
return a->deviceProperties().deviceType == VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
|
||||
&& b->deviceProperties().deviceType != VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user