summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/RwMatFX.cpp1
-rw-r--r--src/core/common.h3
-rw-r--r--src/core/re3.cpp1
3 files changed, 5 insertions, 0 deletions
diff --git a/src/core/RwMatFX.cpp b/src/core/RwMatFX.cpp
index 5fd00c54..ca9a633b 100644
--- a/src/core/RwMatFX.cpp
+++ b/src/core/RwMatFX.cpp
@@ -143,6 +143,7 @@ _rpMatFXD3D8AtomicMatFXEnvRender_ps2(RxD3D8InstanceData *inst, int flags, int se
RwD3D8SetTexture(texture, 0);
else
RwD3D8SetTexture(nil, 0);
+ RwD3D8SetPixelShader(0);
RwD3D8SetVertexShader(inst->vertexShader);
RwD3D8SetStreamSource(0, inst->vertexBuffer, inst->stride);
RwD3D8SetIndices(inst->indexBuffer, inst->baseIndex);
diff --git a/src/core/common.h b/src/core/common.h
index 9a5cdb38..562a69b4 100644
--- a/src/core/common.h
+++ b/src/core/common.h
@@ -370,3 +370,6 @@ inline T *WriteSaveBuf(uint8 *&buf, const T &value)
assert(ReadSaveBuf<char>(buf) == c);\
assert(ReadSaveBuf<char>(buf) == d);\
assert(ReadSaveBuf<uint32>(buf) == size);
+
+
+void cprintf(char*, ...); \ No newline at end of file
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index ed32632f..6f0a4682 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -19,6 +19,7 @@
#include "Ped.h"
#include "debugmenu_public.h"
#include "Particle.h"
+#include "Console.h"
#include <vector>
#include <list>