diff --git a/libs/openFrameworks/gl/ofMaterial.cpp b/libs/openFrameworks/gl/ofMaterial.cpp index 4a8a1d42829..3af75f99612 100644 --- a/libs/openFrameworks/gl/ofMaterial.cpp +++ b/libs/openFrameworks/gl/ofMaterial.cpp @@ -276,7 +276,7 @@ void ofMaterial::setTexCoordScale( float xscale, float yscale ) { //---------------------------------------------------------- bool ofMaterial::loadTexture( const ofMaterialTextureType& aMaterialTextureType, std::string apath ) { - return loadTexture(aMaterialTextureType, apath, ofGetUsingArbTex(), false); + return loadTexture(aMaterialTextureType, apath, !ofGetUsingArbTex(), false); } //----------------------------------------------------------