Commit of projectM-wmp and GLEW (for building on win32).

git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@483 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
psperl
2007-09-26 20:41:48 +00:00
parent 6ef56ab62c
commit f5ba281437
564 changed files with 48184 additions and 38 deletions

View File

@ -1,5 +1,6 @@
#include "TextureManager.hpp"
#include "CustomShape.hpp"
#include "Common.hpp"
#include <map>
TextureManager::TextureManager(const std::string _presetURL): presetURL(_presetURL)
@ -33,7 +34,7 @@ void TextureManager::unloadTextures(const PresetOutputs::cshape_container &shape
GLuint TextureManager::getTexture(const std::string imageUrl)
{
std::string fullUrl = presetURL + "/" + imageUrl;
std::string fullUrl = presetURL + PATH_SEPARATOR + imageUrl;
return LoadTexture(fullUrl.c_str());
}