~widelands-dev/widelands/trunk

« back to all changes in this revision

Viewing changes to src/graphic/gl/road_program.cc

  • Committer: The Widelands Bunnybot
  • Date: 2024-10-19 13:45:54 UTC
  • Revision ID: bunnybot@widelands.org-20241019134554-kz2gcbecf0y7bd7n
170 files were automatically formatted.

(by bunnybot)
5a9087b08ab9bbc48795ff0f7f1f370f60108b1a

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
               road_type == Widelands::RoadSegment::kWaterway);
77
77
        const Image& texture =
78
78
           road_type == Widelands::RoadSegment::kNormal ?
79
 
         visible_owner->tribe().road_textures().get_normal_texture(start.fcoords, direction) :
 
79
              visible_owner->tribe().road_textures().get_normal_texture(start.fcoords, direction) :
80
80
           road_type == Widelands::RoadSegment::kWaterway ?
81
 
         visible_owner->tribe().road_textures().get_waterway_texture(start.fcoords, direction) :
82
 
         visible_owner->tribe().road_textures().get_busy_texture(start.fcoords, direction);
 
81
              visible_owner->tribe().road_textures().get_waterway_texture(start.fcoords, direction) :
 
82
              visible_owner->tribe().road_textures().get_busy_texture(start.fcoords, direction);
83
83
        if (*gl_texture == 0) {
84
84
                *gl_texture = texture.blit_data().texture_id;
85
85
        }