changeset 20:6b0ba6d062bb

Moar testing!
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 28 Sep 2012 14:52:34 +0300
parents 10f58ff516b3
children 49cc9a173427
files vptest.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vptest.c	Fri Sep 28 14:51:21 2012 +0300
+++ b/vptest.c	Fri Sep 28 14:52:34 2012 +0300
@@ -276,6 +276,7 @@
         DMD_SATURATE
         );
 
+#if 0
         dmScaledBlitSurfaceAny(bmap, bx*2-qw, by*2-qh, bmap->w+qw, bmap->h+qh, screen,
 //        DMD_NONE
         DMD_TRANSPARENT
@@ -283,6 +284,10 @@
         );
 //        fprintf(stderr, "%d -> %d : %d\n", bmap->format->BitsPerPixel, screen->format->BitsPerPixel, rt);
 //        exitFlag=TRUE;
+#else
+        dmScaledBlitSurface32to32TransparentGA(bmap, bx*2-qw, by*2-qh, bmap->w+qw, bmap->h+qh, screen,
+            128 + sin(f*0.1) * 120.0f);
+#endif
 
         if (!optBenchmark)
         {