Only accelerate the texture when rendering
Merge branch 'texture' of https://github.com/christopho/solarus into texture
Forgot to set texture as NULL
Merge branch 'texture' of https://github.com/christopho/solarus into texture