diff options
Diffstat (limited to 'src/gui/rhi/qrhi_p_p.h')
-rw-r--r-- | src/gui/rhi/qrhi_p_p.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/rhi/qrhi_p_p.h b/src/gui/rhi/qrhi_p_p.h index 13f1c88f2d..0128fd2d4e 100644 --- a/src/gui/rhi/qrhi_p_p.h +++ b/src/gui/rhi/qrhi_p_p.h @@ -393,7 +393,6 @@ public: QRhiTextureCopyDescription desc; QRhiReadbackDescription rb; QRhiReadbackResult *result; - int layer; static TextureOp upload(QRhiTexture *tex, const QRhiTextureUploadDescription &desc) { @@ -424,12 +423,11 @@ public: return op; } - static TextureOp genMips(QRhiTexture *tex, int layer) + static TextureOp genMips(QRhiTexture *tex) { TextureOp op = {}; op.type = GenMips; op.dst = tex; - op.layer = layer; return op; } }; |