re: D3DERR_INVALIDCALL when calling device.Transform.View in summer 2004 update
From: James Black (jblack_at_ieee.org)
Date: 09/27/04
- Next message: Michel Walsh: "Re: Collisions..."
- Previous message: Kevin Spencer: "Re: Direct3D and Unmanaged Host"
- Next in thread: Chris Hastings: "Re: D3DERR_INVALIDCALL when calling device.Transform.View in summer 2004 update"
- Reply: Chris Hastings: "Re: D3DERR_INVALIDCALL when calling device.Transform.View in summer 2004 update"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 27 Sep 2004 14:24:16 -0400
Hello,
I have a program that has been working for the past couple of years,
but the latest update is causing me lots of grief.
I get the following shortened stack trace:
at Microsoft.DirectX.Direct3D.Device.GetTransform(TransformType state,
Int32* result)
at Microsoft.DirectX.Direct3D.Device.GetTransform(TrnasformType state)
at Microsoft.DirectX.Direct3D.Transforms.get_View()
It fails on two lines, depending on if I comment out the first one:
matrixStack.LoadMatrix(device.Transform.View);
matrixStack.MultiplyMatrixLocal(device.Transform.View);
It would appear that getting the property has a problem, and I don't
know if I am doing something wrong.
This worked fine until the latest update, and today I decided to
recompile to see about making some changes to my program.
Thanx for any suggestions.
- Next message: Michel Walsh: "Re: Collisions..."
- Previous message: Kevin Spencer: "Re: Direct3D and Unmanaged Host"
- Next in thread: Chris Hastings: "Re: D3DERR_INVALIDCALL when calling device.Transform.View in summer 2004 update"
- Reply: Chris Hastings: "Re: D3DERR_INVALIDCALL when calling device.Transform.View in summer 2004 update"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|