Don't send ready unless layer is ready to draw.

This commit is contained in:
Michael Jumper committed 2010-09-08 02:05:22 -07:00
1 parent 23ddb964b9
commit 71aef3f181
2 files changed
+10

No files matched your search

+4
View File
@@ -122,6 +122,10 @@ function Layer(width, height) {
};
display.isReady = function() {
return nextUpdateToDraw >= currentUpdate;
}
return display;
}