mirror of
				https://github.com/raysan5/raylib.git
				synced 2025-10-26 12:27:01 +00:00 
			
		
		
		
	Corrected DrawTextRecEx() bug
This commit is contained in:
		| @@ -1021,7 +1021,7 @@ void DrawTextRecEx(Font font, const char *text, Rectangle rec, float fontSize, f | |||||||
|                 // Draw current character glyph |                 // Draw current character glyph | ||||||
|                 if ((codepoint != ' ') && (codepoint != '\t')) |                 if ((codepoint != ' ') && (codepoint != '\t')) | ||||||
|                 { |                 { | ||||||
|                     DrawTextCodepoint(font, codepoint, (Vector2){ position.x + textOffsetX, position.y + textOffsetY }, fontSize, isGlyphSelected? selectTint : tint); |                     DrawTextCodepoint(font, codepoint, (Vector2){ rec.x + textOffsetX, rec.y + textOffsetY }, fontSize, isGlyphSelected? selectTint : tint); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Ray
					Ray