gdi32: Move the release until after the final dc access.
commitd4d65e2df9c465f02a06ca91c847dd575c0df6ea
authorHuw Davies <huw@codeweavers.com>
Fri, 29 Jul 2016 14:09:33 +0000 (29 15:09 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 29 Jul 2016 14:43:35 +0000 (29 23:43 +0900)
tree15334e3043f8f5c5e0aff5522c1e9d79783885b5
parente1130cbb99fb21f9884cd969b0121dd3ccb827b3
gdi32: Move the release until after the final dc access.

Also only reselect the font if the graphics mode changes.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/gdi32/dc.c