aboutsummaryrefslogtreecommitdiff
path: root/src/guiscalingfilter.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-08-18 07:44:42 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-08-18 07:44:52 +0200
commit55ab4264dc3f42a4588de0cf52e8f0f88e4fd90e (patch)
treea7b06056f0905327351131de60678f41a1283826 /src/guiscalingfilter.h
parent13e995b811e80dc48c0769274d3dca3a2221b843 (diff)
downloadminetest-55ab4264dc3f42a4588de0cf52e8f0f88e4fd90e.tar.gz
minetest-55ab4264dc3f42a4588de0cf52e8f0f88e4fd90e.tar.bz2
minetest-55ab4264dc3f42a4588de0cf52e8f0f88e4fd90e.zip
Modernize various files
* range-based for loops * emplace_back instead of push_back * code style * C++ headers instead of C headers * Default operators * empty stl function
Diffstat (limited to 'src/guiscalingfilter.h')
-rw-r--r--src/guiscalingfilter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guiscalingfilter.h b/src/guiscalingfilter.h
index 4661bf8da..7408ff5eb 100644
--- a/src/guiscalingfilter.h
+++ b/src/guiscalingfilter.h
@@ -46,5 +46,5 @@ video::ITexture *guiScalingImageButton(video::IVideoDriver *driver, video::IText
*/
void draw2DImageFilterScaled(video::IVideoDriver *driver, video::ITexture *txr,
const core::rect<s32> &destrect, const core::rect<s32> &srcrect,
- const core::rect<s32> *cliprect = 0, const video::SColor *const colors = 0,
+ const core::rect<s32> *cliprect = 0, video::SColor *const colors = 0,
bool usealpha = false);