mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-19 15:13:10 +00:00
Fix a type conversion warning.
This commit is contained in:
parent
514772e18e
commit
de0a914d3b
@ -609,7 +609,7 @@ again:
|
||||
void GameInfoCache::SetupTexture(GameInfo *info, std::string &textureData, Thin3DContext *thin3d, Thin3DTexture *&tex, double &loadTime) {
|
||||
if (textureData.size()) {
|
||||
if (!tex) {
|
||||
tex = thin3d->CreateTextureFromFileData(textureData.data(), textureData.size(), T3DFileType::PNG);
|
||||
tex = thin3d->CreateTextureFromFileData(textureData.data(), (int)textureData.size(), T3DFileType::PNG);
|
||||
if (tex) {
|
||||
loadTime = time_now_d();
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user