diff options
Diffstat (limited to 'src/game/client/mapres_image.cpp')
| -rw-r--r-- | src/game/client/mapres_image.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/client/mapres_image.cpp b/src/game/client/mapres_image.cpp index b1817583..d5eda2e0 100644 --- a/src/game/client/mapres_image.cpp +++ b/src/game/client/mapres_image.cpp @@ -106,6 +106,7 @@ int img_init() void *data = map_get_data(img->image_data); //calc_mipmaps(data, img->width, img->height, data_res); map_textures[i] = gfx_load_texture_raw(img->width, img->height, IMG_RGBA, data); + map_unload_data(img->image_data); } //mem_free(data_res); |