Am Samstag 14 Oktober 2006 20:53 schrieb Ivan Gyurdiev: > H. Verbeet wrote: > > On 14/10/06, Ivan Gyurdiev <[EMAIL PROTECTED]> wrote: > >> Exactly... so why is the refcount 1 *after* GetVertexDeclaration. > > > > Perhaps the declaration in only generated when calling > > GetVertexDeclaration(). If you call it twice, does it return the same > > pointer? > > No.. I tried that too. > The same pointer is returned. Perhaps windows has a static internal vertex declaration? Does the refcount increase when you call GetVertexDeclaration more often?
pgp4s0XE9CE2G.pgp
Description: PGP signature