mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-18 04:54:15 +01:00
[dxgi] Fix 'auto' declaration in FindClosestMatchingMode
Hopefully fixes an incorrect GCC warning for some people.
This commit is contained in:
parent
a196451400
commit
4052cad3ff
@ -137,7 +137,7 @@ namespace dxvk {
|
||||
// Select mode with minimal height+width difference
|
||||
UINT minDifference = std::numeric_limits<unsigned int>::max();
|
||||
|
||||
for (auto& mode : modes) {
|
||||
for (auto mode : modes) {
|
||||
UINT currDifference = std::abs(int(targetWidth - mode.Width))
|
||||
+ std::abs(int(targetHeight - mode.Height));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user