SDL: testautomation: Remove Win32 borderless resizable hint

From 819628c6bf8e6c3e5357d7ee4bd2d3d43ddfe052 Mon Sep 17 00:00:00 2001
From: Frank Praznik <[EMAIL REDACTED]>
Date: Mon, 20 Jan 2025 14:49:35 -0500
Subject: [PATCH] testautomation: Remove Win32 borderless resizable hint

This defaults to 'true' now, so setting it manually is no longer necessary.
---
 test/testautomation_video.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/test/testautomation_video.c b/test/testautomation_video.c
index c457ef17f04d4..09c55e7850b6f 100644
--- a/test/testautomation_video.c
+++ b/test/testautomation_video.c
@@ -1006,10 +1006,6 @@ static int SDLCALL video_getSetWindowSize(void *arg)
     int referenceW, referenceH;
     int currentW, currentH;
     int desiredW, desiredH;
-    const bool restoreHint = SDL_GetHintBoolean("SDL_BORDERLESS_RESIZABLE_STYLE", true);
-
-    /* Win32 borderless windows are not resizable by default and need this undocumented hint */
-    SDL_SetHint("SDL_BORDERLESS_RESIZABLE_STYLE", "1");
 
     /* Get display bounds for size range */
     result = SDL_GetDisplayUsableBounds(SDL_GetPrimaryDisplay(), &display);
@@ -1188,9 +1184,6 @@ static int SDLCALL video_getSetWindowSize(void *arg)
     SDLTest_AssertPass("Call to SDL_SetWindowSize(window=NULL)");
     checkInvalidWindowError();
 
-    /* Restore the hint to the previous value */
-    SDL_SetHint("SDL_BORDERLESS_RESIZABLE_STYLE", restoreHint ? "1" : "0");
-
     return TEST_COMPLETED;
 }