Fixed compiling the automated test
authorSam Lantinga <slouken@libsdl.org>
Sat, 05 Feb 2011 13:06:50 -0800
changeset 519729df83fe4cd1
parent 5196 06837416f969
child 5198 7c3422025c35
Fixed compiling the automated test
test/automated/render/render.c
     1.1 --- a/test/automated/render/render.c	Sat Feb 05 12:01:36 2011 -0800
     1.2 +++ b/test/automated/render/render.c	Sat Feb 05 13:06:50 2011 -0800
     1.3 @@ -190,10 +190,10 @@
     1.4     ret = (mode != SDL_BLENDMODE_ADD);
     1.5     if (!render_isSupported(ret))
     1.6        fail = 1;
     1.7 -   ret = SDL_SetRenderDrawBlendMode( SDL_BLENDMODE_MOD );
     1.8 +   ret = SDL_SetRenderDrawBlendMode(renderer, SDL_BLENDMODE_MOD );
     1.9     if (!render_isSupported(ret))
    1.10        fail = 1;
    1.11 -   ret = SDL_GetRenderDrawBlendMode( &mode );
    1.12 +   ret = SDL_GetRenderDrawBlendMode(renderer, &mode );
    1.13     if (!render_isSupported(ret))
    1.14        fail = 1;
    1.15     ret = (mode != SDL_BLENDMODE_MOD);