Skip to content
Snippets Groups Projects

Fix bug in OpenGL encore colormaps

Merged Hannu Hanhi requested to merge bird/Kart-Public:ogl-encore-color-fix into master

This fixes wrong encore mode colors in OpenGL in Virtual Highway and Paradise Hill and various other maps.

Wrong kind of values were passed into NearestColor, resulting in encore colormaps getting the wrong colors. (mostly red and black)

The bugfix was discovered by Guil, and I cleaned up the code a bit further to use RGBA_t.

Edited by Hannu Hanhi

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
Please register or sign in to reply
Loading