diff nodejs/testcase.js @ 693:8b7964869f7a

Update window with XImage through XSHM
author Thinker K.F. Li <thinker@branda.to>
date Mon, 09 Aug 2010 10:03:54 +0800
parents 86c6ebf1de25
children 6ddc8b42188f
line wrap: on
line diff
--- a/nodejs/testcase.js	Mon Aug 09 09:09:19 2010 +0800
+++ b/nodejs/testcase.js	Mon Aug 09 10:03:54 2010 +0800
@@ -56,6 +56,7 @@
 	var deg = (i++) * 0.1;
 	coord[2] = (i % 20) * 10;
 	mb_rt.redraw_changed();
+	mb_rt.flush();
     }, 20);
 setTimeout(function() { sys.puts("timeout"); }, 1000);