[drape] Fixed signed/unsigned comparison warning by changing Resize interface to uint32_t

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk
2025-08-01 13:01:16 +02:00
committed by Konstantin Pastbin
parent 55dc1e17e6
commit a28d5d15ce
11 changed files with 27 additions and 29 deletions

View File

@@ -61,7 +61,7 @@ public:
virtual void ForgetFramebuffer(ref_ptr<BaseFramebuffer> framebuffer) = 0;
virtual void ApplyFramebuffer(std::string const & framebufferLabel) = 0;
// w, h - pixel size of render target (logical size * visual scale).
virtual void Resize(int /* w */, int /* h */) {}
virtual void Resize(uint32_t /* w */, uint32_t /* h */) {}
virtual void SetRenderingEnabled(bool /* enabled */) {}
virtual void SetPresentAvailable(bool /* available */) {}
virtual bool Validate() { return true; }