summaryrefslogtreecommitdiffstats
path: root/src/fakerw/fake.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-16 14:34:51 +0200
committeraap <aap@papnet.eu>2020-05-16 14:34:51 +0200
commitc54d3ba2ab218b9545e784abaf39b4054d3de4bc (patch)
treee9801a3f0afbae2bf9dbb3a93fe6b3790e1e1dfc /src/fakerw/fake.cpp
parentfixed CText to be 64 bit compatible (diff)
downloadre3-c54d3ba2ab218b9545e784abaf39b4054d3de4bc.tar
re3-c54d3ba2ab218b9545e784abaf39b4054d3de4bc.tar.gz
re3-c54d3ba2ab218b9545e784abaf39b4054d3de4bc.tar.bz2
re3-c54d3ba2ab218b9545e784abaf39b4054d3de4bc.tar.lz
re3-c54d3ba2ab218b9545e784abaf39b4054d3de4bc.tar.xz
re3-c54d3ba2ab218b9545e784abaf39b4054d3de4bc.tar.zst
re3-c54d3ba2ab218b9545e784abaf39b4054d3de4bc.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;