diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-29 11:55:42 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-29 11:55:42 +0000 |
| commit | 1f246d9dcbc32e1049f4a8a6ac1777b313d9e547 (patch) | |
| tree | 4a4e025a6211fedf7732d837e0027aa37e6e4d1a /src/game/client/gc_map_image.cpp | |
| parent | 7a3874745ca370a799d95b5f86e85fcc8eadefbb (diff) | |
| download | zcatch-1f246d9dcbc32e1049f4a8a6ac1777b313d9e547.tar.gz zcatch-1f246d9dcbc32e1049f4a8a6ac1777b313d9e547.zip | |
fixed protection so that the fonts doesn't get resampled
Diffstat (limited to 'src/game/client/gc_map_image.cpp')
| -rw-r--r-- | src/game/client/gc_map_image.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/gc_map_image.cpp b/src/game/client/gc_map_image.cpp index 664a867a..65cb0608 100644 --- a/src/game/client/gc_map_image.cpp +++ b/src/game/client/gc_map_image.cpp @@ -111,12 +111,12 @@ int img_init() char buf[256]; char *name = (char *)map_get_data(img->image_name); str_format(buf, sizeof(buf), "data/mapres/%s.png", name); - map_textures[i] = gfx_load_texture(buf, IMG_AUTO); + map_textures[i] = gfx_load_texture(buf, IMG_AUTO, 0); } else { void *data = map_get_data(img->image_data); - map_textures[i] = gfx_load_texture_raw(img->width, img->height, IMG_RGBA, data, IMG_RGBA); + map_textures[i] = gfx_load_texture_raw(img->width, img->height, IMG_RGBA, data, IMG_RGBA, 0); map_unload_data(img->image_data); } } |