const int sx= (int)sd->mtex[sd->texact]->size[0]; const int sy= (int)sd->texsep ? sd->mtex[sd->texact]->size[1] : sx;