WarehouseJim
08-09-2010 17:37:45
We've recently got an AlienWare M17x with Ati Radeon Mobility 5850 and I'm using Direct3D9 RenderSystem.
I have a problem when I call renderWindow.WindowMovedOrResized(), renderWindow.Height and renderWindow.Width are wrong, while Windows Forms reports the correct size. This causes some issues with Miyagi as well as making the screen look squashed.
I have gone through some of the source code, and in OgreD2D9RenderWindow.cpp (~L842) it looks like the functions ultimately called are GetWindowRect and GetClientRect, which I assume are the ones at http://msdn.microsoft.com/en-us/library/ms633519%28VS.85%29.aspx and http://msdn.microsoft.com/en-us/library/ms633503%28v=VS.85%29.aspx.
I wanted to check that MOgre doesn't change these, as far as anyone knows, and I was wondering if anyone knew if they were likely written in the graphics driver i.e. suggesting a bug with either the graphics driver or the graphics card (which is my hunch).
I have a problem when I call renderWindow.WindowMovedOrResized(), renderWindow.Height and renderWindow.Width are wrong, while Windows Forms reports the correct size. This causes some issues with Miyagi as well as making the screen look squashed.
I have gone through some of the source code, and in OgreD2D9RenderWindow.cpp (~L842) it looks like the functions ultimately called are GetWindowRect and GetClientRect, which I assume are the ones at http://msdn.microsoft.com/en-us/library/ms633519%28VS.85%29.aspx and http://msdn.microsoft.com/en-us/library/ms633503%28v=VS.85%29.aspx.
I wanted to check that MOgre doesn't change these, as far as anyone knows, and I was wondering if anyone knew if they were likely written in the graphics driver i.e. suggesting a bug with either the graphics driver or the graphics card (which is my hunch).