dlls/wined3d/device.c GetCreationParameters

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


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.patch
Type: text/x-patch
Size: 1116 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20060114/0c2743e4/GetCreationParameters.patch


More information about the wine-devel mailing list