fix for texturegc