summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi/qrhinull_p_p.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2020-10-09 13:34:37 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2020-10-11 10:58:37 +0200
commit2ac2809ec36af238b3755f176ef45427c1d32467 (patch)
tree1567c3bba1db68c7e249d5a345f14f42ccc45804 /src/gui/rhi/qrhinull_p_p.h
parentcd0b5bba9a1a76e03d4b9b5105c4d16d1e1dfd1e (diff)
rhi: Add support for full, direct buffer updates
Change-Id: I02c1f8c32c08d39cde9845d20ba8b02541d9d325 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhinull_p_p.h')
-rw-r--r--src/gui/rhi/qrhinull_p_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/rhi/qrhinull_p_p.h b/src/gui/rhi/qrhinull_p_p.h
index 567b672b3f..e0e796f7ca 100644
--- a/src/gui/rhi/qrhinull_p_p.h
+++ b/src/gui/rhi/qrhinull_p_p.h
@@ -59,8 +59,9 @@ struct QNullBuffer : public QRhiBuffer
~QNullBuffer();
void destroy() override;
bool create() override;
+ char *beginFullDynamicUniformBufferUpdateForCurrentFrame() override;
- QByteArray data;
+ char *data = nullptr;
};
struct QNullRenderBuffer : public QRhiRenderBuffer