Skip to content
Snippets Groups Projects

Fix SIGSEGV related to GL renderer

Merged wehrlia requested to merge wehrlia/RingRacers:sigsegv-fix into master

Every once in a while, especially at the start of online races, alphalevel will be set to a value bigger than 12, which would be caught by the else statement, leading to segfault at the next line. This commit fixes that by being more specific about what range alphalevel must be in before doing any operations with it.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading