[SDL] Removed unnecessary if-branch