Pārlūkot izejas kodu

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 10 mēneši atpakaļ
vecāks
revīzija
57a15933cd
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  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";
     }
 }