diff samples/sdl.tp @ 284:99c18127da04

Add another SDL_RenderCopy binding in the form of copyRect:To
author Michael Pavone <pavone@retrodev.com>
date Tue, 22 Jul 2014 08:32:39 -0700
parents 0ec4f1b68a38
children b01d7c1b4edd
line wrap: on
line diff
--- a/samples/sdl.tp	Mon Jul 21 20:27:38 2014 -0700
+++ b/samples/sdl.tp	Tue Jul 22 08:32:39 2014 -0700
@@ -17,6 +17,7 @@
 							}
 							surf free
 							tex copyTo: (sdl rect: 160 120 size: 320 224)
+							tex copyRect: (sdl rect: 80 60 size: 160 120) To: (sdl rect: 40 30 size: 320 224)
 							render present
 							sdl delay: 3000u32
 							tex destroy