Browse Source

SDL_migration.cocci: remove metavariable warning

Sylvain 2 years ago
parent
commit
5d1006657a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      build-scripts/SDL_migration.cocci

+ 3 - 0
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