ddraw: Only restore the display mode if we changed it.
authorHenri Verbeet <hverbeet@codeweavers.com>
Tue, 16 Oct 2012 20:43:11 +0000 (22:43 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 17 Oct 2012 09:45:14 +0000 (11:45 +0200)
commitbc3d767fda4f1cfa2763556f106915fd39858329
treea42e3f044c04fc770ba2e9b6ac52b7f7ea2fc9b8
parent40d3a34004fcdbc4ba75d227214cfbcc40ceb912
ddraw: Only restore the display mode if we changed it.
dlls/ddraw/ddraw.c
dlls/ddraw/ddraw_private.h