plan 9 kernel history: overview | file list | diff list

1999/1006/pc/devvga.c (diff list | history)

1999/1005/sys/src/9/pc/devvga.c:294,3021999/1006/sys/src/9/pc/devvga.c:294,306 (short | long | prev | next)
1999/1005    
		drawblankscreen(atoi(field[1])); 
		return; 
	} 
	else if(strcmp(field[0], "hwacceloff") == 0){ 
		scr->fill = nil; 
		scr->scroll = nil; 
1999/1006    
	else if(strcmp(field[0], "hwaccel") == 0){ 
		if(n < 2) 
			error(Ebadarg); 
		if(strcmp(field[1], "on") == 0) 
			hwaccel = 1; 
		else if(strcmp(field[1], "off") == 0) 
			hwaccel = 0; 
1999/1005    
		return; 
	} 
1995/0406    
 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)