cocos2d-x icon indicating copy to clipboard operation
cocos2d-x copied to clipboard

bugfix: memory leak

Open niu2x opened this issue 3 years ago • 2 comments

i think CommandBufferGL::setVertexBuffer and CommandBufferGL::setIndexBuffer should do same things.

  1. check weather new value is different from old value.
  2. release old value, retain new value.

there's memory leak in CommandBufferGL::setVertexBuffer if not release old value

niu2x avatar Jan 22 '22 15:01 niu2x

checks fail due to: /usr/bin/ld: cannot find -lXxf86vm. it's not my fault...

niu2x avatar Jan 22 '22 15:01 niu2x