diff options
author | aap <aap@papnet.eu> | 2019-07-03 13:36:25 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-07-03 13:36:25 +0200 |
commit | ecf29b7769711fb4aebbe7ed6a441cd2bc7b881d (patch) | |
tree | 84cc8a2ca1ca34e003fb9891eff220162a34c6eb /src | |
parent | cleaned up to be closer to original game (diff) | |
download | re3-ecf29b7769711fb4aebbe7ed6a441cd2bc7b881d.tar re3-ecf29b7769711fb4aebbe7ed6a441cd2bc7b881d.tar.gz re3-ecf29b7769711fb4aebbe7ed6a441cd2bc7b881d.tar.bz2 re3-ecf29b7769711fb4aebbe7ed6a441cd2bc7b881d.tar.lz re3-ecf29b7769711fb4aebbe7ed6a441cd2bc7b881d.tar.xz re3-ecf29b7769711fb4aebbe7ed6a441cd2bc7b881d.tar.zst re3-ecf29b7769711fb4aebbe7ed6a441cd2bc7b881d.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/modelinfo/VehicleModelInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modelinfo/VehicleModelInfo.cpp b/src/modelinfo/VehicleModelInfo.cpp index 78eee96c..0d206db0 100644 --- a/src/modelinfo/VehicleModelInfo.cpp +++ b/src/modelinfo/VehicleModelInfo.cpp @@ -875,6 +875,7 @@ CreateCarColourTexture(uint8 r, uint8 g, uint8 b) pixels[14] = b; pixels[15] = 0xFF; RwImageSetPixels(img, pixels); + RwImageSetStride(img, 8); RwImageSetPalette(img, nil); RwImageFindRasterFormat(img, rwRASTERTYPETEXTURE, &width, &height, &depth, &format); ras = RwRasterCreate(width, height, depth, format); |