diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-11-16 19:25:11 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-11-22 13:06:32 +0100 |
commit | 5142fe2c54970040fb6967848156a5f28b5a2dc9 (patch) | |
tree | b53358bb46c1854dfdd19eab30d74ff3f833509c /util/glgen | |
parent | 924887965cbe0312df1271b097671a9e2266eb5a (diff) |
rhi: d3d11: Do not rely on Win10-only enum value
When building against a 8.1 or older SDK the Windows 10-only value
DXGI_SWAP_EFFECT_FLIP_DISCARD may not be present. Just use the value
directly. At runtime that code path cannot be hit anyway when running
on 8.1 or older.
Task-number: QTBUG-80084
Change-Id: I0974b82db770e5487315798432ee601937b96c5e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'util/glgen')
0 files changed, 0 insertions, 0 deletions