changeset 5200:29df83fe4cd1

Fixed compiling the automated test
author Sam Lantinga <slouken@libsdl.org>
date Sat, 05 Feb 2011 13:06:50 -0800
parents 06837416f969
children 7c3422025c35
files test/automated/render/render.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/automated/render/render.c	Sat Feb 05 12:01:36 2011 -0800
+++ b/test/automated/render/render.c	Sat Feb 05 13:06:50 2011 -0800
@@ -190,10 +190,10 @@
    ret = (mode != SDL_BLENDMODE_ADD);
    if (!render_isSupported(ret))
       fail = 1;
-   ret = SDL_SetRenderDrawBlendMode( SDL_BLENDMODE_MOD );
+   ret = SDL_SetRenderDrawBlendMode(renderer, SDL_BLENDMODE_MOD );
    if (!render_isSupported(ret))
       fail = 1;
-   ret = SDL_GetRenderDrawBlendMode( &mode );
+   ret = SDL_GetRenderDrawBlendMode(renderer, &mode );
    if (!render_isSupported(ret))
       fail = 1;
    ret = (mode != SDL_BLENDMODE_MOD);