Mercurial > sdl-ios-xcode
diff test/testshape.c @ 5145:c8e049de174c
Making the API simpler, the renderer present semantics are always having a backbuffer and then discarding it. This is best for hardware accelerated rendering.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 01 Feb 2011 12:19:46 -0800 |
parents | dc0dfdd58f27 |
children | ad50b3db78bd |
line wrap: on
line diff
--- a/test/testshape.c Mon Jan 31 23:37:30 2011 -0800 +++ b/test/testshape.c Tue Feb 01 12:19:46 2011 -0800 @@ -102,7 +102,7 @@ printf("Could not create shaped window for SDL_Shape.\n"); exit(-4); } - if(SDL_CreateRenderer(window,-1,SDL_RENDERER_PRESENTFLIP2) == -1) { + if(SDL_CreateRenderer(window,-1,0) == -1) { SDL_DestroyWindow(window); for(i=0;i<num_pictures;i++) SDL_FreeSurface(pictures[i].surface);