mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-30 18:16:31 +03:00
Added Vertex Buffer support ( cVertexBuffer base class (interface), cVertexBufferOGL fallback if gpu doesn't support VBO's, cVertexBufferVBO uses ARB Vertex Buffer Object ).
Added a Memory Manager to trace memory leaks. Fixed some memory leaks detected with the new memory manager. Added an allocator for STL ( to use it with the custom allocation seted in the memory manager ). Fixed Makefiles ( i wroke them ).
This commit is contained in:
@@ -189,7 +189,7 @@ bool cZip::ExtractFileToMemory( const std::string& path, Uint8** data, Uint32* d
|
||||
|
||||
if ( NULL != zf ) {
|
||||
*dataSize = zf->bytes_left;
|
||||
*data = new Uint8[ (*dataSize) ];
|
||||
*data = eeNew( Uint8, (*dataSize) );
|
||||
|
||||
Result = zip_fread( zf, reinterpret_cast<void*> (&data[0]), zf->bytes_left );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user