summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi/qrhigles2_p_p.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2021-05-28 19:23:49 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2021-06-03 17:05:44 +0200
commit64089b900fe245cc64c10ff47033dda60d4a5f86 (patch)
tree07f3f38f6ff40738969f8886b6ce707e39be8bf2 /src/gui/rhi/qrhigles2_p_p.h
parent4652da536a5db3608e6026b27dfe808227b721f2 (diff)
rhi: Enable reading back slices of 3D textures
Change-Id: I0c687677b7e86b7284130c775718b29aca2cca40 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhigles2_p_p.h')
-rw-r--r--src/gui/rhi/qrhigles2_p_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/rhi/qrhigles2_p_p.h b/src/gui/rhi/qrhigles2_p_p.h
index b4179c0ce8..d5087b92ed 100644
--- a/src/gui/rhi/qrhigles2_p_p.h
+++ b/src/gui/rhi/qrhigles2_p_p.h
@@ -467,6 +467,7 @@ struct QGles2CommandBuffer : public QRhiCommandBuffer
QRhiTexture::Format format;
GLenum readTarget;
int level;
+ int slice3D;
} readPixels;
struct {
GLenum target;