code: drawterm

Download patch

ref: 99dd6a29652826520e35ec09ad0245bcd3405884
parent: c50e30b59e81227198b3188183e55ae143498d71
author: Russ Cox <rsc@swtch.com>
date: Tue Jan 9 21:48:22 EST 2007

add missing drawqlock/drawqunlock

--- a/gui-osx/screen.c
+++ b/gui-osx/screen.c
@@ -300,7 +300,9 @@
 		Rectangle rect =  { { 0, 0 },
  							{ bounds.size.width,
  							  bounds.size.height} };
+		drawqlock();
  		flushmemscreen(rect);
+ 		drawqunlock();
 	}
 }
 
@@ -316,7 +318,9 @@
 		Rectangle rect =  { { 0, 0 },
  							{ bounds.size.width,
  							  bounds.size.height} };
+		drawqlock();
  		flushmemscreen(rect);
+ 		drawqunlock();
 	}
 }
 
@@ -459,7 +463,9 @@
 				Rectangle rect =  { { 0, 0 },
  									{ bounds.size.width,
  									  bounds.size.height} };
+				drawqlock();
  				flushmemscreen(rect);
+ 				drawqunlock();
 				break;
 
 			default: