Update texture.c