There are two glasses: the first one is one-third full of wine, and the second one, which has the same capacity, is one-fourth full of wine. Both glasses are then filled with water, and their contents are combined in a jug. Subsequently, half of this mixture is poured back into one of the glasses. What proportion of the mixture in the glass consists of wine?