mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 06:33:42 +00:00
[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:
committed by
Konstantin Pastbin
parent
55dc1e17e6
commit
a28d5d15ce
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user