Skip to content

Commit 3898212

Browse files
committed
CI testing of SDL_ASSERT_INVALID_PARAMS
1 parent 6832da1 commit 3898212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SDL_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,12 +272,12 @@ extern "C" {
272272
#define POP_SDL_ERROR() \
273273
SDL_SetError("%s", _error); SDL_free(_error); }
274274

275-
#define SDL_DISABLE_INVALID_PARAMS
276275
#ifdef SDL_DISABLE_INVALID_PARAMS
277276
#define PARAMETER_CHECKS while (false)
278277
#else
279278
#define PARAMETER_CHECKS
280279
#endif
280+
#define SDL_ASSERT_INVALID_PARAMS
281281
#ifdef SDL_ASSERT_INVALID_PARAMS
282282
#define CHECK_PARAM(invalid) SDL_assert_always(!(invalid)); if (invalid)
283283
#else

0 commit comments

Comments
 (0)