about summary refs log tree commit diff
path: root/src/game/client/mapres_image.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-05-27 00:47:07 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-05-27 00:47:07 +0000
commitbdcc0b09ddc630c166f0dfebcf376765fb1f9801 (patch)
tree90fd22f041b6e4519f3459fcad983930afc2a647 /src/game/client/mapres_image.cpp
parent4a128a9609cc5fc61077b3cd73ffa831551b7dc2 (diff)
downloadzcatch-bdcc0b09ddc630c166f0dfebcf376765fb1f9801.tar.gz
zcatch-bdcc0b09ddc630c166f0dfebcf376765fb1f9801.zip
major update. added png support. fixed abit with the network
Diffstat (limited to 'src/game/client/mapres_image.cpp')
-rw-r--r--src/game/client/mapres_image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/mapres_image.cpp b/src/game/client/mapres_image.cpp
index 1c81b309..e56a7c6a 100644
--- a/src/game/client/mapres_image.cpp
+++ b/src/game/client/mapres_image.cpp
@@ -24,7 +24,7 @@ int img_init()
 	{
 		mapres_image *img = (mapres_image *)map_get_item(start+i, 0, 0);
 		void *data = map_get_data(img->image_data);
-		map_textures[i] = gfx_load_texture_raw(img->width, img->height, data);
+		map_textures[i] = gfx_load_texture_raw(img->width, img->height, IMG_BGRA, data);
 	}
 	
 	return count;