diff options
| author | Joel de Vahl <joel@stalverk80.se> | 2007-07-21 21:15:02 +0000 |
|---|---|---|
| committer | Joel de Vahl <joel@stalverk80.se> | 2007-07-21 21:15:02 +0000 |
| commit | 8fdd5ea9bb624d7274edb37be27144d2beaa0b46 (patch) | |
| tree | e2c7a7dfe15f77a0ac14b229296cafb4a7fc0ada /src/game/client | |
| parent | a210fbfe228b0a951af8bbca39c9cad35bac89a1 (diff) | |
| download | zcatch-8fdd5ea9bb624d7274edb37be27144d2beaa0b46.tar.gz zcatch-8fdd5ea9bb624d7274edb37be27144d2beaa0b46.zip | |
RGBA instead of BGRA in map file
Diffstat (limited to 'src/game/client')
| -rw-r--r-- | src/game/client/mapres_image.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |