mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-13 22:08:54 +00:00
Enable full object validation by default
Full object validation was always done before this hint and there are a number of shipping products that relied on this, so don't change it by default.
This commit is contained in:
@@ -141,12 +141,7 @@ bool SDL_object_validation = false;
|
||||
|
||||
static void SDLCALL SDL_InvalidParamChecksChanged(void *userdata, const char *name, const char *oldValue, const char *hint)
|
||||
{
|
||||
bool validation_enabled = false;
|
||||
|
||||
#ifdef SDL_ASSERT_INVALID_PARAMS
|
||||
// Full validation is enabled by default
|
||||
validation_enabled = true;
|
||||
#endif
|
||||
bool validation_enabled = true;
|
||||
|
||||
if (hint) {
|
||||
switch (*hint) {
|
||||
|
||||
Reference in New Issue
Block a user