From 8fdd5ea9bb624d7274edb37be27144d2beaa0b46 Mon Sep 17 00:00:00 2001 From: Joel de Vahl Date: Sat, 21 Jul 2007 21:15:02 +0000 Subject: RGBA instead of BGRA in map file --- src/game/client/mapres_image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/client/mapres_image.cpp b/src/game/client/mapres_image.cpp index e56a7c6a..8d286b85 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, IMG_BGRA, data); + map_textures[i] = gfx_load_texture_raw(img->width, img->height, IMG_RGBA, data); } return count; -- cgit 1.4.1