diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2023-02-17 16:59:45 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2023-02-20 18:06:32 +0100 |
commit | b74db90be055904c43953695e51b216100de71bb (patch) | |
tree | f1e67c72b9206b119bfb1d4af1558701ae2e574b /src/gui/rhi/qrhi_p.h | |
parent | 933df0a9ff7b487aa6927fbc99de7f234cc2a054 (diff) |
rhi: Make the mip size helpers static
Change-Id: Ibe480330290ccddeac0a62b52a8a33c3399cb5bc
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhi_p.h')
-rw-r--r-- | src/gui/rhi/qrhi_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/rhi/qrhi_p.h b/src/gui/rhi/qrhi_p.h index e254eafd2e..cc94c3b9d8 100644 --- a/src/gui/rhi/qrhi_p.h +++ b/src/gui/rhi/qrhi_p.h @@ -1804,8 +1804,8 @@ public: int ubufAlignment() const; int ubufAligned(int v) const; - int mipLevelsForSize(const QSize &size) const; - QSize sizeForMipLevel(int mipLevel, const QSize &baseLevelSize) const; + static int mipLevelsForSize(const QSize &size); + static QSize sizeForMipLevel(int mipLevel, const QSize &baseLevelSize); bool isYUpInFramebuffer() const; bool isYUpInNDC() const; |