From 5d1006657a24cb643c70fd662309ba7405678426 Mon Sep 17 00:00:00 2001
From: Sylvain <[EMAIL REDACTED]>
Date: Sun, 5 Feb 2023 17:46:59 +0100
Subject: [PATCH] SDL_migration.cocci: remove metavariable warning
---
build-scripts/SDL_migration.cocci | 3 +++
1 file changed, 3 insertions(+)
diff --git a/build-scripts/SDL_migration.cocci b/build-scripts/SDL_migration.cocci
index cd0b290c65b5..fabed9626e42 100644
--- a/build-scripts/SDL_migration.cocci
+++ b/build-scripts/SDL_migration.cocci
@@ -2389,14 +2389,17 @@ SDL_DisplayMode e;
+ SDL_RenderCoordinatesToWindow
(...)
@@
+symbol SDL_ScaleModeNearest;
@@
- SDL_ScaleModeNearest
+ SDL_SCALEMODE_NEAREST
@@
+symbol SDL_ScaleModeLinear;
@@
- SDL_ScaleModeLinear
+ SDL_SCALEMODE_LINEAR
@@
+symbol SDL_ScaleModeBest;
@@
- SDL_ScaleModeBest
+ SDL_SCALEMODE_BEST