1
0
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:
Chip Davis 2019-03-25 16:12:59 -05:00 committed by Philip Rebohle
parent 7a37d88067
commit 13a6ecadcd

View File

@ -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;
});