2
0
Эх сурвалжийг харах

restore pen position (did break it for debug previously)

Jeremie Roy 12 жил өмнө
parent
commit
8ddda84cd7

+ 1 - 1
examples/common/font/text_buffer_manager.cpp

@@ -112,7 +112,7 @@ public:
 	void setUnderlineColor(uint32_t rgba = 0x000000FF) { m_underlineColor = toABGR(rgba); }
 	void setStrikeThroughColor(uint32_t rgba = 0x000000FF) { m_strikeThroughColor = toABGR(rgba); }
 	
-	void setPenPosition(float x, float /*y*/) { m_penX = x; };// m_penY = y; }
+	void setPenPosition(float x, float y) { m_penX = x; m_penY = y; }
 	
 	/// return the size of the text 
 	//Rectangle measureText(FontHandle fontHandle, const char * _string);