diff options
author | aap <aap@papnet.eu> | 2021-02-18 12:21:52 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-02-18 12:21:52 +0100 |
commit | 996772faf2b7ed17269af194c6d9dcbdb37732fe (patch) | |
tree | cfb4d76317a169f665bf1f500e36d4aa2c0e54ec /src/render/MBlur.cpp | |
parent | Merge branch 'miami' of github.com:GTAmodding/re3 into miami (diff) | |
download | re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.gz re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.bz2 re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.lz re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.xz re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.zst re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.zip |
Diffstat (limited to 'src/render/MBlur.cpp')
-rw-r--r-- | src/render/MBlur.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/MBlur.cpp b/src/render/MBlur.cpp index a94a5245..9f5122dc 100644 --- a/src/render/MBlur.cpp +++ b/src/render/MBlur.cpp @@ -6,6 +6,7 @@ #include <d3d8caps.h> #endif +#include "main.h" #include "General.h" #include "RwHelper.h" #include "Camera.h" @@ -333,6 +334,7 @@ CMBlur::MotionBlurRender(RwCamera *cam, uint32 red, uint32 green, uint32 blue, u #ifdef EXTENDED_COLOURFILTER CPostFX::Render(cam, red, green, blue, blur, type, bluralpha); #else + PUSH_RENDERGROUP("CMBlur::MotionBlurRender"); RwRGBA color = { (RwUInt8)red, (RwUInt8)green, (RwUInt8)blue, (RwUInt8)blur }; #ifdef GTA_PS2 if( pFrontBuffer ) @@ -348,6 +350,7 @@ CMBlur::MotionBlurRender(RwCamera *cam, uint32 red, uint32 green, uint32 blue, u RwRasterPopContext(); } #endif + POP_RENDERGROUP(); #endif } |