fixes #3539

There was no need for the load texture to be static