summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi/qrhid3d12_p.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2023-11-15 15:21:20 +0100
committerLaszlo Agocs <laszlo.agocs@qt.io>2023-12-06 19:01:19 +0100
commitbb1d9bab36d779e595a924e3218d4066d84fca38 (patch)
treef1c96f278ac3602d55b020765a12628e98c68c07 /src/gui/rhi/qrhid3d12_p.h
parent09cca9539c0a22ee31f048269a274ba81fdbea8c (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/qrhid3d12_p.h')
-rw-r--r--src/gui/rhi/qrhid3d12_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/rhi/qrhid3d12_p.h b/src/gui/rhi/qrhid3d12_p.h
index 15567de542..c6d4123c09 100644
--- a/src/gui/rhi/qrhid3d12_p.h
+++ b/src/gui/rhi/qrhid3d12_p.h
@@ -1179,7 +1179,7 @@ public:
void setPipelineCacheData(const QByteArray &data) override;
void waitGpu();
- DXGI_SAMPLE_DESC effectiveSampleCount(int sampleCount, DXGI_FORMAT format) const;
+ DXGI_SAMPLE_DESC effectiveSampleDesc(int sampleCount, DXGI_FORMAT format) const;
bool ensureDirectCompositionDevice();
bool startCommandListForCurrentFrameSlot(ID3D12GraphicsCommandList1 **cmdList);
void enqueueResourceUpdates(QD3D12CommandBuffer *cbD, QRhiResourceUpdateBatch *resourceUpdates);