Fixing texture enum generation in SALVL.