summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-06-27 23:31:45 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2020-06-27 23:31:45 +0200
commit233792e2b872ed400955bb3da113bd82234cfa09 (patch)
tree28e4417328ba0c401266246e7c8f1fe46843ae94 /src/render
parentmips overdose (diff)
downloadre3-233792e2b872ed400955bb3da113bd82234cfa09.tar
re3-233792e2b872ed400955bb3da113bd82234cfa09.tar.gz
re3-233792e2b872ed400955bb3da113bd82234cfa09.tar.bz2
re3-233792e2b872ed400955bb3da113bd82234cfa09.tar.lz
re3-233792e2b872ed400955bb3da113bd82234cfa09.tar.xz
re3-233792e2b872ed400955bb3da113bd82234cfa09.tar.zst
re3-233792e2b872ed400955bb3da113bd82234cfa09.zip
Diffstat (limited to '')
-rw-r--r--src/render/MBlur.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/MBlur.cpp b/src/render/MBlur.cpp
index f6c16cfd..45224d05 100644
--- a/src/render/MBlur.cpp
+++ b/src/render/MBlur.cpp
@@ -20,14 +20,14 @@ CMBlur::MotionBlurOpen(RwCamera *cam)
{
#ifdef GTA_PS2
RwRect rect = {0, 0, 0, 0};
-
+
if (pFrontBuffer)
- return TRUE;
+ return TRUE;
BlurOn = true;
rect.w = RwRasterGetWidth(RwCameraGetRaster(cam));
- rect.h = RwRasterGetHeight(RwCameraGetRaster(cam));
+ rect.h = RwRasterGetHeight(RwCameraGetRaster(cam));
pFrontBuffer = RwRasterCreate(0, 0, 0, rwRASTERDONTALLOCATE|rwRASTERTYPECAMERATEXTURE);
if (!pFrontBuffer)