Now how do i clear and update buffers continuously without getting extra flicker?
My current setup is this, and it creates tons of extra flicker as each loop it draws the cleared screen... rather then clear it behind the scenes
[not actual code, just the general idea]
int AddIn_main(int isAppli, unsigned short OptionNum)
{
GrayInit(3270, 3270); 
GrayLinkBuffers(buffer1, buffer2);
while(1){		  //main loop
memset(buffer1, 0, 1024);
memset(buffer2, 0, 1024); //clear each buffer
DrawSprites(); //Draw what i want etc.
} //repeat!
return 1;
}
					
					

 
	 
			
			
			
				 
					
 
				
				
			 
				
				
			



