fix in Render_text_SFont()
This commit is contained in:
		
							parent
							
								
									4978a7cfe2
								
							
						
					
					
						commit
						129c0ae550
					
				@ -726,7 +726,6 @@ byte *Render_text_SFont(const char *str, int font_number, int *width, int *heigh
 | 
			
		||||
  {
 | 
			
		||||
    Warning("Failed to allocate text surface");
 | 
			
		||||
    SFont_FreeFont(font);
 | 
			
		||||
    Free_GFX2_Surface(font_surface);
 | 
			
		||||
    return NULL;
 | 
			
		||||
  }
 | 
			
		||||
  // Fill with transparent color
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user