aboutsummaryrefslogtreecommitdiffstats
path: root/src/extras/custompipes.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-10 11:59:51 +0100
committeraap <aap@papnet.eu>2021-01-10 11:59:57 +0100
commit0ee87d7b46c4e340554f25d38d01bc1accb8c826 (patch)
tree6021adcb61abe61cdceb691a867117b0e116eff3 /src/extras/custompipes.cpp
parentb0e395e8532f99f53c94178dbabff3433b6d333b (diff)
env map rendering
Diffstat (limited to 'src/extras/custompipes.cpp')
-rw-r--r--src/extras/custompipes.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/extras/custompipes.cpp b/src/extras/custompipes.cpp
index 2cecf1c0..f7f8bbe5 100644
--- a/src/extras/custompipes.cpp
+++ b/src/extras/custompipes.cpp
@@ -46,13 +46,14 @@ CustomMatCopy(void *dst, void *src, int32, int32)
rw::TexDictionary *neoTxd;
+bool bChromeCheat;
bool bRenderingEnvMap;
int32 EnvMapSize = 128;
rw::Camera *EnvMapCam;
rw::Texture *EnvMapTex;
rw::Texture *EnvMaskTex;
-static rw::RWDEVICE::Im2DVertex EnvScreenQuad[4];
-static int16 QuadIndices[6] = { 0, 1, 2, 0, 2, 3 };
+rw::RWDEVICE::Im2DVertex EnvScreenQuad[4];
+int16 QuadIndices[6] = { 0, 1, 2, 0, 2, 3 };
static rw::Camera*
CreateEnvMapCam(rw::World *world)