Browse Source

SDL_GetCSSCursorName: Don't assert on unrecognized cursor types.

These values are passed through from the calling app and shouldn't trigger
asserts when they are bogus.
Ryan C. Gordon 1 year ago
parent
commit
57a15933cd
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/video/SDL_video.c

+ 0 - 1
src/video/SDL_video.c

@@ -5573,7 +5573,6 @@ const char *SDL_GetCSSCursorName(SDL_SystemCursor id, const char **fallback_name
         return "w-resize";
 
     default:
-        SDL_assert(0);
         return "default";
     }
 }