From 9f721d492a19ed92f099602c450576935eb00b46 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 10 Jan 2023 15:25:48 -0800
Subject: [PATCH] Catch SDL_opengles2.h in rename_headers.py
---
build-scripts/rename_headers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build-scripts/rename_headers.py b/build-scripts/rename_headers.py
index 5359c6db3dec..def94fce8193 100755
--- a/build-scripts/rename_headers.py
+++ b/build-scripts/rename_headers.py
@@ -12,7 +12,7 @@ def main():
( re.compile(r"(?:[\"<])(?:SDL2/)?SDL_gamecontroller.h(?:[\">])"), r"<SDL3/SDL_gamepad.h>" ),
( re.compile(r"(?:[\"<])(?:SDL2/)?begin_code.h(?:[\">])"), r"<SDL3/SDL_begin_code.h>" ),
( re.compile(r"(?:[\"<])(?:SDL2/)?close_code.h(?:[\">])"), r"<SDL3/SDL_close_code.h>" ),
- ( re.compile(r"(?:[\"<])(?:SDL2/)?(SDL[_a-z]*\.h)(?:[\">])"), r"<SDL3/\1>" )
+ ( re.compile(r"(?:[\"<])(?:SDL2/)?(SDL[_a-z0-9]*\.h)(?:[\">])"), r"<SDL3/\1>" )
]
for entry in args.args:
path = pathlib.Path(entry)