[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    RE: DX6 more compatibility.
From:       Michael Karcher <wine () mkarcher ! dialup ! fu-berlin ! de>
Date:       2008-06-29 13:32:15
Message-ID: 1214746335.4600.19.camel () hermes2 ! karcher ! local
[Download RAW message or body]

Am Freitag, den 27.06.2008, 18:24 +0200 schrieb Stefan Dösinger:
> On a sidenode, I think it is impossible to QueryInterface
> IDirectDrawSurface7 from IDirectDrawSurface < 7, or vice versa, but I am not
> sure.
Nope. You can sucessfully query IDirectDrawSurface{,2,3,4,7} from
IDirectDraw{,2,3,4,7} without problems, at least on DirectX 9. Wine
matches Windows behaviour here.

Windows (DirectX 9) has seperate refcounts for seperate
IDirectDrawSurfaceX, as it also has for IDirectDrawX. Wine does not have
it. This means that we need different vtables for all IDirectDrawSurface
versions, as DDraw does, too.

Regards,
  Michael Karcher




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic