mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-30 18:16:31 +03:00
Removed SDL_ttf dependency, replaced by HaikuTTF ( own implementation of a ttf handler library ). Still a work in progress, but working 100 %.
Removed compiler warnings from zip_utils. Fixed cTexture and cShape memory leaks ( now using std::vector by default to allocate textures on memory, removed manual dynamic loading because it's not working fine ). Fixed cShaderProgram unloading. Fixed a bug on cInifile. Updated the Makefile.
This commit is contained in:
@@ -8,10 +8,10 @@ cShaderProgramManager::cShaderProgramManager()
|
||||
|
||||
cShaderProgramManager::~cShaderProgramManager()
|
||||
{
|
||||
std::map<std::string, cShaderProgram*>::iterator it;
|
||||
|
||||
for ( it = mShaders.begin(); it != mShaders.end(); it++ )
|
||||
Remove( it->second );
|
||||
std::map<std::string, cShaderProgram*>::iterator it;
|
||||
|
||||
for ( it = mShaders.begin() ; it != mShaders.end(); it++ )
|
||||
delete it->second;
|
||||
}
|
||||
|
||||
void cShaderProgramManager::Add( cShaderProgram * ShaderProgram ) {
|
||||
|
||||
Reference in New Issue
Block a user