Compile fix (adapt to changes in Texture)