Skip to content

Commit

Permalink
Use the correct cache for non-hexed images.
Browse files Browse the repository at this point in the history
  • Loading branch information
lipk committed Jun 17, 2014
1 parent 10af944 commit 752b42c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/image.cpp
Expand Up @@ -914,7 +914,7 @@ sdl::ttexture get_texture(const locator& loc, TYPE type)
switch (type) {
case UNSCALED:
case SCALED_TO_ZOOM:
cache = &txt_hexed_images_;
cache = &txt_images_;
break;
case BRIGHTENED:
cache = &txt_brightened_images_;
Expand Down

0 comments on commit 752b42c

Please sign in to comment.