Browse Source

Fixed gendyapi.py parsing of SDL_RELEASE_GENERIC

Sam Lantinga 1 year ago
parent
commit
9323417e9c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/dynapi/gendynapi.py

+ 1 - 0
src/dynapi/gendynapi.py

@@ -156,6 +156,7 @@ def main():
             func = re.sub(" SDL_TRY_ACQUIRE_SHARED\(.*\)", "", func);
             func = re.sub(" SDL_RELEASE\(.*\)", "", func);
             func = re.sub(" SDL_RELEASE_SHARED\(.*\)", "", func);
+            func = re.sub(" SDL_RELEASE_GENERIC\(.*\)", "", func);
 
             # Should be a valid function here
             match = reg_parsing_function.match(func)