File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -239,15 +239,15 @@ class SourceImageCache
239
239
return NULL ;
240
240
}
241
241
// Primarily fetches from cache, secondarily tries to read from filesystem
242
- video::IImage* getOrLoad (const std::string &name, IrrlichtDevice *m_device )
242
+ video::IImage* getOrLoad (const std::string &name, IrrlichtDevice *device )
243
243
{
244
244
std::map<std::string, video::IImage*>::iterator n;
245
245
n = m_images.find (name);
246
246
if (n != m_images.end ()){
247
247
n->second ->grab (); // Grab for caller
248
248
return n->second ;
249
249
}
250
- video::IVideoDriver* driver = m_device ->getVideoDriver ();
250
+ video::IVideoDriver* driver = device ->getVideoDriver ();
251
251
std::string path = getTexturePath (name.c_str ());
252
252
if (path == " " ){
253
253
infostream<<" SourceImageCache::getOrLoad(): No path found for \" "
You can’t perform that action at this time.
0 commit comments