summaryrefslogtreecommitdiffstats
path: root/src/fakerw/fake.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-16 16:09:13 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-16 16:09:13 +0200
commit1a42d62d3ab5ca683defc582a5127a5bc7e454fe (patch)
tree3773a6afe233e6530e58dbcf4b89ebee3bdaf923 /src/fakerw/fake.cpp
parentgangs, script and replay fixes (diff)
parentFix audio use of number instead of enum for CAR_ACCEL (diff)
downloadre3-1a42d62d3ab5ca683defc582a5127a5bc7e454fe.tar
re3-1a42d62d3ab5ca683defc582a5127a5bc7e454fe.tar.gz
re3-1a42d62d3ab5ca683defc582a5127a5bc7e454fe.tar.bz2
re3-1a42d62d3ab5ca683defc582a5127a5bc7e454fe.tar.lz
re3-1a42d62d3ab5ca683defc582a5127a5bc7e454fe.tar.xz
re3-1a42d62d3ab5ca683defc582a5127a5bc7e454fe.tar.zst
re3-1a42d62d3ab5ca683defc582a5127a5bc7e454fe.zip
Diffstat (limited to 'src/fakerw/fake.cpp')
-rw-r--r--src/fakerw/fake.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fakerw/fake.cpp b/src/fakerw/fake.cpp
index 50d12b2f..71646020 100644
--- a/src/fakerw/fake.cpp
+++ b/src/fakerw/fake.cpp
@@ -470,7 +470,7 @@ RwBool RwRenderStateSet(RwRenderState state, void *value)
uint32 uival = (uintptr)value;
uint32 fog;
switch(state){
- case rwRENDERSTATETEXTURERASTER: SetRenderState(TEXTURERASTER, uival); return true;
+ case rwRENDERSTATETEXTURERASTER: SetRenderStatePtr(TEXTURERASTER, value); return true;
case rwRENDERSTATETEXTUREADDRESS: SetRenderState(TEXTUREADDRESS, uival); return true;
case rwRENDERSTATETEXTUREADDRESSU: SetRenderState(TEXTUREADDRESSU, uival); return true;
case rwRENDERSTATETEXTUREADDRESSV: SetRenderState(TEXTUREADDRESSV, uival); return true;