SDL: SDL_SetHintWithPriority: Allow setting NULL hints.

From 55a07d91faca40caf7cac10840ccd5e2f0521f0c Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Mon, 6 Jun 2022 09:30:43 -0400
Subject: [PATCH] SDL_SetHintWithPriority: Allow setting NULL hints.

Fixes #5120.
---
 src/SDL_hints.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/SDL_hints.c b/src/SDL_hints.c
index 0005f4908ea..35eff7adb26 100644
--- a/src/SDL_hints.c
+++ b/src/SDL_hints.c
@@ -52,7 +52,7 @@ SDL_SetHintWithPriority(const char *name, const char *value,
     SDL_Hint *hint;
     SDL_HintWatch *entry;
 
-    if (!name || !value) {
+    if (!name) {
         return SDL_FALSE;
     }