We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
diff --git a/contrib/libs/stb_image/stbi_pvr_c.h b/contrib/libs/stb_image/stbi_pvr_c.h index 0e74f4295..7733b9619 100644 --- a/contrib/libs/stb_image/stbi_pvr_c.h +++ b/contrib/libs/stb_image/stbi_pvr_c.h @@ -405,7 +405,7 @@ static void UnpackModulations(const AMTC_BLOCK_STRUCT *pBlock, } // make sure nothing is left over - STBI_ASSERT(ModulationBits==0); + assert(ModulationBits==0); } /*!*********************************************************************** @@ -505,7 +505,7 @@ static void InterpolateColours(const int ColourP[4], // sanity check for(k = 0; k < 4; k++) { - STBI_ASSERT(Result[k] < 256); + assert(Result[k] < 256); } @@ -524,7 +524,7 @@ static void InterpolateColours(const int ColourP[4], // 2nd sanity check for(k = 0; k < 4; k++) { - STBI_ASSERT(Result[k] < 256); + assert(Result[k] < 256); } } @@ -629,11 +629,11 @@ static U32 TwiddleUV(U32 YSize, U32 XSize, U32 YPos, U32 XPos) int ShiftCount; - STBI_ASSERT(YPos < YSize); - STBI_ASSERT(XPos < XSize); + assert(YPos < YSize); + assert(XPos < XSize); - STBI_ASSERT(POWER_OF_2(YSize)); - STBI_ASSERT(POWER_OF_2(XSize)); + assert(POWER_OF_2(YSize)); + assert(POWER_OF_2(XSize)); if(YSize < XSize) {
The text was updated successfully, but these errors were encountered:
92babf5
Sure, thanks.
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: