diff options
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); } } |