]> git.tdb.fi Git - libs/gl.git/commit
Memory allocation changes
authorMikko Rasa <tdb@tdb.fi>
Sun, 2 Sep 2012 14:30:54 +0000 (17:30 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 2 Sep 2012 14:30:54 +0000 (17:30 +0300)
commit77656543441a130276e0a37ba119270edd9156ff
tree97adadbcae0c7d2d0aca026ab24c595971937f02
parentba5c731b8aa6430bb10e38848d42d8bfb59694a6
Memory allocation changes

Use std::copy instead of memcpy
Call operator= from copy constructor
Allocate memory only when needed, not one byte before
source/vertexformat.cpp