attempt to fix energy bar problem on OSX
This commit is contained in:
parent
bf0b94073c
commit
1d03b2cf2e
1 changed files with 1 additions and 1 deletions
|
@ -2409,7 +2409,7 @@ const std::pair<int,int>& display::calculate_energy_bar()
|
|||
int first_row = -1;
|
||||
int last_row = -1;
|
||||
|
||||
const scoped_sdl_surface image(image::get_image(game_config::unmoved_energy_image));
|
||||
const scoped_sdl_surface image(image::get_image(game_config::unmoved_energy_image,image::UNSCALED,image::NO_ADJUST_COLOUR));
|
||||
|
||||
surface_lock image_lock(image);
|
||||
const short* const begin = image_lock.pixels();
|
||||
|
|
Loading…
Add table
Reference in a new issue