diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2023-11-15 15:21:20 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2023-12-06 19:01:19 +0100 |
commit | bb1d9bab36d779e595a924e3218d4066d84fca38 (patch) | |
tree | f1c96f278ac3602d55b020765a12628e98c68c07 /src/gui/rhi/qrhi_p.h | |
parent | 09cca9539c0a22ee31f048269a274ba81fdbea8c (diff) |
rhi: Make sample count selection logic be closer to Qt 5
Pick-to: 6.6 6.5
Fixes: QTBUG-119148
Change-Id: Ia119ab3ced9da08853c608aa256bde08a6fd8d4e
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/gui/rhi/qrhi_p.h')
-rw-r--r-- | src/gui/rhi/qrhi_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/rhi/qrhi_p.h b/src/gui/rhi/qrhi_p.h index 926247d386..b5429372a8 100644 --- a/src/gui/rhi/qrhi_p.h +++ b/src/gui/rhi/qrhi_p.h @@ -232,6 +232,8 @@ public: return a.d.binding < b.d.binding; } + int effectiveSampleCount(int sampleCount) const; + QRhi *q; static const int MAX_SHADER_CACHE_ENTRIES = 128; |