Stefan Dösinger : wined3d: Only swap system memory resources of front and back buffer if they have the same size .