X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscene%2Fmaterial%2Fmat.cxx;h=2d488f345eb7db8da34c8bbebbba5b3a9fcdd932;hb=373a0e4a7d59c3f8ed1d66ff6145de61ecd46279;hp=3da8824a3fe40bb6de0dcf3b77551abc8223834b;hpb=cfffe91ed58695a5aa8566de3535869270506fc3;p=simgear.git diff --git a/simgear/scene/material/mat.cxx b/simgear/scene/material/mat.cxx index 3da8824a..2d488f34 100644 --- a/simgear/scene/material/mat.cxx +++ b/simgear/scene/material/mat.cxx @@ -303,7 +303,7 @@ void SGMaterial::set_state( osg::StateSet *s ) } void SGMaterial::assignTexture( osg::StateSet *state, const std::string &fname, - int _wrapu, int _wrapv, int _mipmap ) + bool _wrapu, bool _wrapv, bool _mipmap ) { osg::Texture2D* texture = SGLoadTexture2D(fname, 0, _wrapu, _wrapv, mipmap ? -1 : 0);