summaryrefslogtreecommitdiffstats
path: root/src/render/RenderBuffer.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2019-07-24 18:55:43 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2019-07-24 18:55:43 +0200
commitb4ecb3e3dad654e01d0ceb4c359721650dda425b (patch)
tree27cfc6fb58ec53080d9c4850f13b8b97ad681b13 /src/render/RenderBuffer.cpp
parentMerge pull request #1 from GTAmodding/master (diff)
downloadre3-b4ecb3e3dad654e01d0ceb4c359721650dda425b.tar
re3-b4ecb3e3dad654e01d0ceb4c359721650dda425b.tar.gz
re3-b4ecb3e3dad654e01d0ceb4c359721650dda425b.tar.bz2
re3-b4ecb3e3dad654e01d0ceb4c359721650dda425b.tar.lz
re3-b4ecb3e3dad654e01d0ceb4c359721650dda425b.tar.xz
re3-b4ecb3e3dad654e01d0ceb4c359721650dda425b.tar.zst
re3-b4ecb3e3dad654e01d0ceb4c359721650dda425b.zip
Diffstat (limited to 'src/render/RenderBuffer.cpp')
-rw-r--r--src/render/RenderBuffer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/RenderBuffer.cpp b/src/render/RenderBuffer.cpp
index 1b91156e..f6499451 100644
--- a/src/render/RenderBuffer.cpp
+++ b/src/render/RenderBuffer.cpp
@@ -8,8 +8,8 @@ int32 &TempBufferIndicesStored = *(int32*)0x8F1A4C;
RwIm3DVertex *TempBufferRenderVertices = (RwIm3DVertex*)0x862330;
RwImVertexIndex *TempBufferRenderIndexList = (RwImVertexIndex*)0x846288;
-int RenderBuffer::VerticesToBeStored;
-int RenderBuffer::IndicesToBeStored;
+int &RenderBuffer::VerticesToBeStored = *(int*)0x8F59C4;
+int &RenderBuffer::IndicesToBeStored = *(int*)0x8E28B0;
void
RenderBuffer::ClearRenderBuffer(void)