diff options
Diffstat (limited to 'src/quick/items/qquickrendertarget_p.h')
-rw-r--r-- | src/quick/items/qquickrendertarget_p.h | 6 |
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; }; |