aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickrendertarget_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/items/qquickrendertarget_p.h')
-rw-r--r--src/quick/items/qquickrendertarget_p.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/quick/items/qquickrendertarget_p.h b/src/quick/items/qquickrendertarget_p.h
index 628e5c277b..173cb699b6 100644
--- a/src/quick/items/qquickrendertarget_p.h
+++ b/src/quick/items/qquickrendertarget_p.h
@@ -79,8 +79,12 @@ public:
Type type = Type::Null;
QSize pixelSize;
int sampleCount = 1;
+ struct NativeTexture {
+ quint64 object;
+ int layout;
+ };
union {
- QSGTexture::NativeTexture nativeTexture;
+ NativeTexture nativeTexture;
QRhiRenderTarget *rhiRt;
} u;
};