Commit Graph

12 Commits

Author SHA1 Message Date
Michael Stefaniuc
9b77bdff54 ddrawex: COM cleanup for the IDirectDraw2 iface. 2011-01-24 14:43:23 +01:00
Michael Stefaniuc
8003b48421 ddrawex: COM cleanup for the IDirectDraw iface. 2011-01-24 14:43:23 +01:00
Henri Verbeet
d38f535c05 ddrawex: Correctly retrieve the "outer" surface in IDirectDraw3Impl_GetSurfaceFromDC(). 2010-03-29 15:51:11 +02:00
Henri Verbeet
6ae96807c0 ddrawex: Directly return the ddraw surface in IDirectDraw4Impl_GetSurfaceFromDC(). 2010-03-29 15:51:02 +02:00
Francois Gouget
a07195bb72 ddrawex: Fix compilation on systems that don't support nameless unions. 2009-08-31 12:52:18 +02:00
Marcus Meissner
294382269d ddrawex: Use stack ctx instead of uninitialized variable. 2009-01-27 11:09:08 +01:00
Francois Gouget
053d521ca7 ddrawex: Add a trailing '\n' to a Wine trace. 2009-01-14 14:52:24 +01:00
Michael Stefaniuc
8b5a5e532b ddrawex: Remove superfluous pointer casts. 2009-01-14 12:21:08 +01:00
Michael Stefaniuc
cee7954a67 ddrawex: Remove redundant NULL check before HeapFree (Smatch). 2009-01-10 17:43:10 +01:00
Stefan Dösinger
da6c9e4cc2 ddrawex: Implement a GetDC special behavior Internet Explorer depends on.
Tests show that in ddrawex.dll it is legal to create a surface with
both DDSCAPS_VIDEOMEMORY and DDSCAPS_SYSTEMMEMORY flag set. A surface
created that way shows different behavior in IDirectDrawSurface::GetDC.
2009-01-09 16:23:18 +01:00
Stefan Dösinger
0d80130aa2 ddrawex: Create a surface wrapper. 2009-01-09 16:20:20 +01:00
Stefan Dösinger
efcecb9b99 ddrawex: Implement a wrapper around IDirectDraw.
This allows us to cleanly implement the differences between ddraw.dll and
ddrawex.dll without private functions and if checks if an object was created
by ddraw or ddrawex. A similar wrapper will be added for IDirectDrawSurface.
2009-01-09 15:53:43 +01:00