mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-02-26 20:15:51 +00:00
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:
@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user