don't need dispose on offscreen-world, and it breaks compiling
							parent
							
								
									b7bad6b2bb
								
							
						
					
					
						commit
						e5ef3d9b95
					
				| 
						 | 
					@ -1,3 +1,4 @@
 | 
				
			||||||
 | 
					! (c) 2008 Joe Groff, see license for details
 | 
				
			||||||
USING: accessors continuations graphics.bitmap kernel math
 | 
					USING: accessors continuations graphics.bitmap kernel math
 | 
				
			||||||
sequences ui.gadgets ui.gadgets.worlds ui ui.backend
 | 
					sequences ui.gadgets ui.gadgets.worlds ui ui.backend
 | 
				
			||||||
destructors ;
 | 
					destructors ;
 | 
				
			||||||
| 
						 | 
					@ -24,8 +25,6 @@ M: offscreen-world ungraft*
 | 
				
			||||||
: close-offscreen ( world -- )
 | 
					: close-offscreen ( world -- )
 | 
				
			||||||
    ungraft notify-queued ;
 | 
					    ungraft notify-queued ;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
M: offscreen-world dispose close-offscreen ;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
: offscreen-world>bitmap ( world -- bitmap )
 | 
					: offscreen-world>bitmap ( world -- bitmap )
 | 
				
			||||||
    offscreen-pixels bgra>bitmap ;
 | 
					    offscreen-pixels bgra>bitmap ;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue