| Poster | : Chudan | | Posts | : 14 | | Country | : Germany | | City | : Dresden |
| | | | Posted by Chudan on 31/01/2009 at 06:09:48
| | Hi Guys.
I got a problem with Mesh creation.
Wenn i tryed to create a new mesh-object like this:
| terrainMesh = new Mesh((int)(WIDTH - 1) * (int)(HEIGHT - 1) * 2, (int)WIDTH * (int)HEIGHT, MeshFlags.Managed, CustomVertex.PositionTextured.Format, device); |
the IDE discovers a Direct3DXException :
>----------------<
Microsoft.DirectX.Direct3D.Direct3DXException wurde nicht behandelt.
Message="Fehler in der Anwendung."
Source="Microsoft.DirectX.Direct3DX"
ErrorCode=-2005530516
ErrorString="D3DERR_INVALIDCALL"
>----------------<
Someone knows how to fix it? | |
|
|