The invention relates to a topical cosmetic composition, characterized in that said composition contains a polyester including the (A-B) and (A-C) ester units, with A being an acid containing at least two carboxylic functions or a dimer diacid, B being a diol or dimer diol other than polytrimethylene ether glycol, and C being polytrimethylene ether glycol.Composition cosmétique topique caractérisée en ce quelle contient un polyester comprenant les motifs ester (A-B) et (A-C) avec A = acide contenant au moins deux fonctions carboxyliques ou dimère diacide, B = diol ou dimère diol à lexception du polytriméthylène ether glycol, C = polytriméthylène ether glycol.