summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-06 09:24:12 +0200
committeraap <aap@papnet.eu>2020-05-06 09:24:12 +0200
commitbb0541404d79e91cde0ffe2dac8506df134e18b7 (patch)
treef1481e8bf30d5cbb6b217a0e339d2b37b636f66f /src/render
parentRemove #endif (diff)
downloadre3-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')
-rw-r--r--src/render/Lines.cpp2
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);