about summary refs log tree commit diff
path: root/src/game/client/gc_mapres_image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/gc_mapres_image.cpp')
-rw-r--r--src/game/client/gc_mapres_image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/gc_mapres_image.cpp b/src/game/client/gc_mapres_image.cpp
index cc9a8143..d8de8a1e 100644
--- a/src/game/client/gc_mapres_image.cpp
+++ b/src/game/client/gc_mapres_image.cpp
@@ -106,7 +106,7 @@ int img_init()
 		mapres_image *img = (mapres_image *)map_get_item(start+i, 0, 0);
 		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_textures[i] = gfx_load_texture_raw(img->width, img->height, IMG_RGBA, data, IMG_RGBA);
 		map_unload_data(img->image_data);
 	}