Direct3D9 rendersystem crash on WindowsXP

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
oiram
Halfling
Posts: 87
Joined: Sun Dec 13, 2009 5:06 am
x 6

Direct3D9 rendersystem crash on WindowsXP

Post by oiram »

Direct3DCreate9Ex is supported only in Windows Vista, Windows Server 2008, and Windows 7.
Ogre 1.9 use Direct3DCreate9Ex for Direct3D9Ex Improvements on Windows 7, however it causes "The procedure entry point Direct3DCreate9Ex could not be located in the dynamic link library d3d9.dll".
Manually load the procedure Direct3DCreate9Ex from d3d9.dll library is fine.
patch attached.

https://ogre3d.atlassian.net/browse/OGRE-128
User avatar
spacegaier
OGRE Team Member
OGRE Team Member
Posts: 4308
Joined: Mon Feb 04, 2008 2:02 pm
Location: Germany
x 137

Re: Direct3D9 rendersystem crash on WindowsXP

Post by spacegaier »

oiram wrote:patch attached.
As usual, a pull request would make it much easier and would ensure a faster processing :) .
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...