From bf4b3a1ff81173b6d1d07fc23ffe823a9713dbcb Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 14 May 2022 16:32:04 +0200 Subject: [PATCH] Fix a compil warning (due to a bug in code after last change) --- include/gal/graphics_abstraction_layer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/gal/graphics_abstraction_layer.h b/include/gal/graphics_abstraction_layer.h index e667792bc4..28603045e4 100644 --- a/include/gal/graphics_abstraction_layer.h +++ b/include/gal/graphics_abstraction_layer.h @@ -365,7 +365,7 @@ public: void ResetTextAttributes(); void SetGlyphSize( const VECTOR2I aSize ) { m_attributes.m_Size = aSize; } - const VECTOR2D& GetGlyphSize() const { return m_attributes.m_Size; } + const VECTOR2I& GetGlyphSize() const { return m_attributes.m_Size; } inline void SetFontBold( const bool aBold ) { m_attributes.m_Bold = aBold; } inline bool IsFontBold() const { return m_attributes.m_Bold; } @@ -929,7 +929,7 @@ public: /// Use GAL_DRAWING_CONTEXT RAII object unless you know what you're doing. virtual void EndDrawing() {}; protected: - + /// Enable item update mode. /// Private: use GAL_UPDATE_CONTEXT RAII object virtual void beginUpdate() {} @@ -937,7 +937,7 @@ protected: /// Disable item update mode. virtual void endUpdate() {} - + /// Compute the scaling factor for the world->screen matrix inline void computeWorldScale()