ddraw: Implement IDirectDrawImpl_GetSurfaceFromDC().
commit4e48ae2629cc641f3a02862b9477daae02a1c85b
authorHenri Verbeet <hverbeet@codeweavers.com>
Tue, 16 Mar 2010 18:02:21 +0000 (16 19:02 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 17 Mar 2010 09:06:25 +0000 (17 10:06 +0100)
tree3c2af59ed85624c80135960bd000e1772390d462
parent7b52c2fbed561ac381f63826bab97802d0070e46
ddraw: Implement IDirectDrawImpl_GetSurfaceFromDC().

This is a pretty naive implementation, should that become a performance
problem it's easy enough to speed up with a search tree of some kind.
dlls/ddraw/ddraw.c
dlls/ddraw/tests/dsurface.c
dlls/wined3d/device.c
include/wine/wined3d.idl