Skip to content

Commit

Permalink
Merge pull request H-uru#1640 from Hoikas/fix_ci_fail
Browse files Browse the repository at this point in the history
Fix max plugin debug build.
  • Loading branch information
dpogue authored Dec 6, 2024
2 parents 1707710 + fdbebba commit 76e31fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/MaxPlugin/MaxConvert/plBitmapCreator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ plBitmap *plBitmapCreator::ICreateTexture( plBitmapData *bd, const plLocation &l
else
{
// Well, this really sucks. We couldn't tell what the modify time is, so just pretend all is well (but assert in Debug mode)
hsAssert(0, ST::format("Couldn't get bitmap '{}' modify time: {}", bd->fileName, hsCOMError(hsLastWin32Error, GetLastError()).c_str()));
hsAssert(0, ST::format("Couldn't get bitmap '{}' modify time: {}", bd->fileName, hsCOMError(hsLastWin32Error, GetLastError())).c_str());
}
}

Expand Down Expand Up @@ -660,7 +660,7 @@ plBitmap *plBitmapCreator::ICreateTexture( plBitmapData *bd, const plLocation &l
else
{
// Well, this really sucks. We couldn't tell what the modify time is, so just pretend all is well (but assert in Debug mode)
hsAssert(0, ST::format("Couldn't set bitmap '{}' modify time: {}", bd->fileName, hsCOMError(hsLastWin32Error, GetLastError()).c_str()));
hsAssert(0, ST::format("Couldn't set bitmap '{}' modify time: {}", bd->fileName, hsCOMError(hsLastWin32Error, GetLastError())).c_str());
}

// Add to our list of created textures and ref, since we have a hold of them
Expand Down

0 comments on commit 76e31fe

Please sign in to comment.