Problems using the DrawPrimitives Method
From: Marcel (schillum_at_gmx.net)
Date: 05/19/04
- Next message: Thomas: "Re: Problem with memory leaks"
- Previous message: Filip Strugar: "C# Managed DirectX Demo"
- Next in thread: Rich [Microsoft Direct3D MVP]: "Re: Problems using the DrawPrimitives Method"
- Reply: Rich [Microsoft Direct3D MVP]: "Re: Problems using the DrawPrimitives Method"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 19 May 2004 16:23:54 +0200
Hi..
Always when I want to render my VertexBuffer, the following error
occurs:
Error in the application.
-2146232832 (Unknown)
at Microsoft.DirectX.Direct3D.Device.DrawPrimitives(
PrimitiveType primitiveType, Int32 startVertex, Int32 primitiveCount)
I checked the vertexBuffer and the device with the debugger, but
all values seem to be ok. Also the startVertex and the primitiveCount
are not out of range.
Does anybody know this error, and what's the reason for it?!
with friendly greetings ...
Marcel
- Next message: Thomas: "Re: Problem with memory leaks"
- Previous message: Filip Strugar: "C# Managed DirectX Demo"
- Next in thread: Rich [Microsoft Direct3D MVP]: "Re: Problems using the DrawPrimitives Method"
- Reply: Rich [Microsoft Direct3D MVP]: "Re: Problems using the DrawPrimitives Method"
- Messages sorted by: [ date ] [ thread ]