diff options
author | aap <aap@papnet.eu> | 2020-05-06 09:24:12 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-06 09:24:12 +0200 |
commit | bb0541404d79e91cde0ffe2dac8506df134e18b7 (patch) | |
tree | f1481e8bf30d5cbb6b217a0e339d2b37b636f66f /src/render/Lines.cpp | |
parent | Remove #endif (diff) | |
download | re3-bb0541404d79e91cde0ffe2dac8506df134e18b7.tar re3-bb0541404d79e91cde0ffe2dac8506df134e18b7.tar.gz re3-bb0541404d79e91cde0ffe2dac8506df134e18b7.tar.bz2 re3-bb0541404d79e91cde0ffe2dac8506df134e18b7.tar.lz re3-bb0541404d79e91cde0ffe2dac8506df134e18b7.tar.xz re3-bb0541404d79e91cde0ffe2dac8506df134e18b7.tar.zst re3-bb0541404d79e91cde0ffe2dac8506df134e18b7.zip |
Diffstat (limited to 'src/render/Lines.cpp')
-rw-r--r-- | src/render/Lines.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/Lines.cpp b/src/render/Lines.cpp index b5c85149..84d3683b 100644 --- a/src/render/Lines.cpp +++ b/src/render/Lines.cpp @@ -60,6 +60,8 @@ CLines::RenderLineWithClipping(float x1, float y1, float z1, float x2, float y2, col2.green = c2>>16; col2.blue = c2>>8; col2.alpha = c2; +// HACK HACK until i got im3d fixed +RwRenderStateSet(rwRENDERSTATETEXTURERASTER, nil); RwIm3DVertexSetRGBA(&v[0], col1.red, col1.green, col1.blue, col1.alpha); RwIm3DVertexSetRGBA(&v[1], col2.red, col2.green, col2.blue, col2.alpha); |