dlls/wined3d/device.c GetCreationParameters

Al Tobey tobert at gmail.com
Sat Jan 14 17:15:23 CST 2006

Ack, after thinking about it and talking with people on IRC, I think I
did the wrong thing.   New patch attached that just copies the
parameters one-by-one to the passed-in struct.   Both methods work,
though, so this probably needs to be tested on Windows.

In any case, this one is probably safest for now.
-Al Tobey

On 1/14/06, Al Tobey <tobert at gmail.com> wrote:
> I'd just post to wine-patches, but I think this needs another set of
> eyes.   According to MSDN, this just sets a pointer to the creation
> parameters.    The attached patch makes this function work, but I'm
> not sure if returning a pointer to the original parameters is the
> right approach or if they should be copied first.
> This patch makes a bunch of the Ogre3d demos work, which are great for
> testing since you can run the same demo in OpenGL, D3D9, and D3D7
> modes.
> http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/directx9_c/directx/graphics/reference/d3d/interfaces/idirect3ddevice9/GetCreationParameters.asp
> http://www.ogre3d.org/index.php?option=com_remository&Itemid=57&func=selectcat&cat=2
> http://easynews.dl.sourceforge.net/sourceforge/ogre/OgreDemos-1.0.4.zip
> I'm currently playing with compiling Ogre3d against winelib and
> finding it's shaking out a bunch of missing stuff in d3d9 - patches
> may follow.
> -Al Tobey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GetCreationParameters-take2.patch
Type: text/x-patch
Size: 1130 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20060114/0986bd1c/GetCreationParameters-take2.patch

More information about the wine-devel mailing list