DX9 Device Problems
BlitzMax Forums/BlitzMax Programming/DX9 Device Problems
| ||
Hi Using the new DX9 driver I am having problems with finding the device, under the old DX7 Module the following code ran with no problems: Global D3DDriver:TD3D7Max2DDriver = TD3D7Max2DDriver(_max2dDriver) D3DDriver.device.SetTextureStageState(0, D3DTSS_ADDRESS, D3DTADDRESS_WRAP) After changing to DX9 and altering the code to: Global D3DDriver:TD3D9Max2DDriver = TD3D9Max2DDriver(_max2dDriver) D3DDriver.device.SetTextureStageState(0, D3DTSS_ADDRESS, D3DTADDRESS_WRAP) Blitz complains that it cannot find the device I know a lot changed in the dx9 module, but I cant figure out how to find the device for the dx9 driver. |