diff samples/sdl.tp @ 287:b01d7c1b4edd

Add binding for simple form of SDL_RenderCopyEx
author Michael Pavone <pavone@retrodev.com>
date Tue, 22 Jul 2014 18:39:00 -0700
parents 99c18127da04
children 38bbbf74b735
line wrap: on
line diff
--- a/samples/sdl.tp	Tue Jul 22 18:31:31 2014 -0700
+++ b/samples/sdl.tp	Tue Jul 22 18:39:00 2014 -0700
@@ -18,6 +18,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)
+							tex copyTo: (sdl rect: 320 240 size: 320 224) rotated: 45.0
 							render present
 							sdl delay: 3000u32
 							tex destroy