diff --git a/core/Common/Image.cpp b/core/Common/Image.cpp index 81d335fb..acbb32f3 100644 --- a/core/Common/Image.cpp +++ b/core/Common/Image.cpp @@ -225,7 +225,7 @@ bool e2d::Image::preload(const String& filePath) // 保存图片指针和图片的 Hash 名 s_mBitmapsFromFile.insert( std::map::value_type( - actualFilePath.getHashCode(), + filePath.getHashCode(), pBitmap) ); }