From 1f246d9dcbc32e1049f4a8a6ac1777b313d9e547 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 29 Mar 2008 11:55:42 +0000 Subject: fixed protection so that the fonts doesn't get resampled --- src/game/client/gc_map_image.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/client/gc_map_image.cpp') 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); } } -- cgit 1.4.1