wined3d: Track if a context's hdc is private so we never need to restore its pixel...
commit272873823e9beff91ea1a62845fc7e5f94a9636f
authorKen Thomases <ken@codeweavers.com>
Mon, 24 Mar 2014 03:46:18 +0000 (23 22:46 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 24 Mar 2014 19:20:13 +0000 (24 20:20 +0100)
tree810ffec398e3855a44557b7311f3756acb12d3c7
parent57c51710e0a4474872125cc54be7562ea8db6ccd
wined3d: Track if a context's hdc is private so we never need to restore its pixel format.

This currently only applies to the swapchain backup DC, but it will soon be
used for surfaces created using the WGL_WINE_surface extension.  Also, there
are a couple of cases where ddraw creates private windows and passes them in.
It could be extended to those.
dlls/wined3d/context.c
dlls/wined3d/wined3d_private.h