git-svn-id: svn://anubis/misc/TextureCache@189 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
parent
3fedd1dc0e
commit
8b0f852f37
@ -42,7 +42,7 @@ GLuint TextureCache::loadTexture(const FileLoader::Path & path,
|
|||||||
SDL_Surface * temp = IMG_Load_RW(ops, /* TODO: figure out param */ true);
|
SDL_Surface * temp = IMG_Load_RW(ops, /* TODO: figure out param */ true);
|
||||||
if (!temp)
|
if (!temp)
|
||||||
{
|
{
|
||||||
cerr << "Failed to load image ('" << path.fullPath
|
cerr << "Failed to load image (" << path.fullPath
|
||||||
<< ", " << path.shortPath << ")!" << endl;
|
<< ", " << path.shortPath << ")!" << endl;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user