[PD] [Gem] separator fix
Georg Holzmann
grhPD at gmx.at
Sun Aug 28 12:34:12 CEST 2005
Hallo!
I currently always get this message in Gem (each frame):
...
separator : state->numTexCoords 4 != m_state.numTexCoords 0
separator : state->numTexCoords 4 != m_state.numTexCoords 0
separator : state->numTexCoords 4 != m_state.numTexCoords 0
...
my patch looks like this:
|
[separator]
|
[color]
|
[translateXYZ]
|
[scale]
|
[pix_buffer_read xxx]
|
[pix_texture]
|
[rectangle x y]
I can see in the source code of separator.h:
--------8<----------
//this is a partial fix for the separator memory leak
//
//if the texcoords are of equal number, which they almost always are
//then just copy them in a loop without delete and new being done
//
//when texcoords are not equal the memory leak happens as usual
------->8-----------
does this mean, in my patch there will be a memory leak (or is it just a
debug post) ?
Thanks,
LG
Georg
More information about the Pd-list
mailing list