make parameter of loadTextureFromImage const