Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11render.c @ 4622:453712fd2016
Set the default XRender filter to "fast". testoverlay2 works now.
author | Sunny Sachanandani <sunnysachanandani@gmail.com> |
---|---|
date | Wed, 28 Jul 2010 15:13:16 +0530 |
parents | f4a93bde905f |
children | 10175d54adf4 |
comparison
equal
deleted
inserted
replaced
4621:12a9cf73596a | 4622:453712fd2016 |
---|---|
1013 SDL_SetError("XRenderCreatePicture() failed"); | 1013 SDL_SetError("XRenderCreatePicture() failed"); |
1014 return -1; | 1014 return -1; |
1015 } | 1015 } |
1016 texture->blendMode = SDL_BLENDMODE_NONE; | 1016 texture->blendMode = SDL_BLENDMODE_NONE; |
1017 data->blend_op = PictOpSrc; | 1017 data->blend_op = PictOpSrc; |
1018 data->filter = "fast"; | |
1018 } | 1019 } |
1019 #endif | 1020 #endif |
1020 return 0; | 1021 return 0; |
1021 } | 1022 } |
1022 | 1023 |