Fixed warning C4127: conditional expression is constant

This commit is contained in:
Sam Lantinga
2024-01-19 06:35:02 -08:00
parent 1dbe54c4e6
commit 9fc1135e3b
4 changed files with 4 additions and 4 deletions

View File

@@ -94,7 +94,7 @@ SDL_SW_YUVTexture *SDL_SW_CreateYUVTexture(Uint32 format, int w, int h)
break;
default:
SDL_assert(0 && "We should never get here (caught above)");
SDL_assert(!"We should never get here (caught above)");
break;
}