summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-08-11 19:42:08 +0200
committeraap <aap@papnet.eu>2020-08-11 19:42:08 +0200
commita9935dcd452a309ab6a9f38b978ba794784b5d33 (patch)
treee8eda6a9763da96ae1e84b03a0b7e14d788a5cda
parentupdate librw (diff)
downloadre3-a9935dcd452a309ab6a9f38b978ba794784b5d33.tar
re3-a9935dcd452a309ab6a9f38b978ba794784b5d33.tar.gz
re3-a9935dcd452a309ab6a9f38b978ba794784b5d33.tar.bz2
re3-a9935dcd452a309ab6a9f38b978ba794784b5d33.tar.lz
re3-a9935dcd452a309ab6a9f38b978ba794784b5d33.tar.xz
re3-a9935dcd452a309ab6a9f38b978ba794784b5d33.tar.zst
re3-a9935dcd452a309ab6a9f38b978ba794784b5d33.zip
-rw-r--r--src/extras/postfx.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/extras/postfx.cpp b/src/extras/postfx.cpp
index e8cd4bc4..7e9df4e7 100644
--- a/src/extras/postfx.cpp
+++ b/src/extras/postfx.cpp
@@ -150,11 +150,6 @@ CPostFX::Open(RwCamera *cam)
#endif
#ifdef RW_OPENGL
using namespace rw::gl3;
-// AllocConsole();
-// freopen("CONIN$", "r", stdin);
-// freopen("CONOUT$", "w", stdout);
-// freopen("CONOUT$", "w", stderr);
-
{
#ifdef RW_GLES2
@@ -309,25 +304,6 @@ CPostFX::RenderOverlayShader(RwCamera *cam, int32 r, int32 g, int32 b, int32 a)
blurcolors[3] = 30/255.0f;
#ifdef RW_D3D9
rw::d3d::d3ddevice->SetPixelShaderConstantF(10, blurcolors, 1);
-
-/*
- float blurcolors[NUMAVERAGE*4];
- int j = Next;
- for(int i = NUMAVERAGE-1; i >= 0; i--){
- j = (j+NUMAVERAGE-1)%NUMAVERAGE;
-// blurcolors[i*4+0] = PrevRed[j]/255.0f;
-// blurcolors[i*4+1] = PrevGreen[j]/255.0f;
-// blurcolors[i*4+2] = PrevBlue[j]/255.0f;
-// blurcolors[i*4+3] = Intensity/255.0f;
-
- blurcolors[i*4+0] = r/255.0f;
- blurcolors[i*4+1] = g/255.0f;
- blurcolors[i*4+2] = b/255.0f;
- blurcolors[i*4+3] = Intensity/255.0f;
- }
- rw::d3d::d3ddevice->SetPixelShaderConstantF(15, blurcolors, NUMAVERAGE);
-*/
-
rw::d3d::im2dOverridePS = colourfilterVC_PS;
#endif
#ifdef RW_OPENGL