Fixed compiling the automated test
authorSam Lantinga <slouken@libsdl.org>
Sat, 05 Feb 2011 13:06:50 -0800
changeset 5197 29df83fe4cd1
parent 5196 06837416f969
child 5198 7c3422025c35
Fixed compiling the automated test
test/automated/render/render.c
--- 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);