summaryrefslogtreecommitdiffstats
path: root/tests/manual/rhi/shared/imgui/qrhiimgui_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/rhi/shared/imgui/qrhiimgui_p.h')
-rw-r--r--tests/manual/rhi/shared/imgui/qrhiimgui_p.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/manual/rhi/shared/imgui/qrhiimgui_p.h b/tests/manual/rhi/shared/imgui/qrhiimgui_p.h
index 1b4b4d67b6..ec86c2af7f 100644
--- a/tests/manual/rhi/shared/imgui/qrhiimgui_p.h
+++ b/tests/manual/rhi/shared/imgui/qrhiimgui_p.h
@@ -1,10 +1,10 @@
// Copyright (C) 2022 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef QRHIIMGUI_P_H
#define QRHIIMGUI_P_H
-#include <QtGui/private/qrhi_p.h>
+#include <rhi/qrhi.h>
QT_BEGIN_NAMESPACE
@@ -45,7 +45,12 @@ public:
StaticRenderData sf;
FrameRenderData f;
- void prepare(QRhi *rhi, QRhiRenderTarget *rt, QRhiCommandBuffer *cb, const QMatrix4x4 &mvp, float opacity);
+ void prepare(QRhi *rhi,
+ QRhiRenderTarget *rt,
+ QRhiCommandBuffer *cb,
+ const QMatrix4x4 &mvp,
+ float opacity = 1.0f,
+ float hdrWhiteLevelMultiplierOrZeroForSDRsRGB = 0.0f);
void render();
void releaseResources();