|  | @@ -11,8 +11,12 @@
 | 
	
		
			
				|  |  |  #include "gds_draw.h"
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  void IRAM_ATTR GDS_DrawPixelExt( struct GDS_Device* Device, int X, int Y, int Color ){
 | 
	
		
			
				|  |  | -	GDS_DrawPixel(  Device, X, Y, Color );
 | 
	
		
			
				|  |  | +	if ( IsPixelVisible( Device, X, Y ) == true ) {
 | 
	
		
			
				|  |  | +	        GDS_DrawPixelFast( Device, X, Y, Color );
 | 
	
		
			
				|  |  | +	    }
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  void IRAM_ATTR GDS_DrawPixelFastExt( struct GDS_Device* Device, int X, int Y, int Color ){
 | 
	
		
			
				|  |  | -	GDS_DrawPixelFast( Device, X, Y, Color );
 | 
	
		
			
				|  |  | +	if (Device->DrawPixelFast) Device->DrawPixelFast( Device, X, Y, Color );
 | 
	
		
			
				|  |  | +		else if (Device->Depth == 4) GDS_DrawPixel4Fast( Device, X, Y, Color);
 | 
	
		
			
				|  |  | +		else if (Device->Depth == 1) GDS_DrawPixel1Fast( Device, X, Y, Color);
 | 
	
		
			
				|  |  |  }
 |