summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-06-29 10:14:00 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2020-06-29 10:14:00 +0200
commit3b3324de380e14f17d533905dfe5af5ac6dba8db (patch)
treebdab5315528220a05436eeb81756784ac74930b9 /src/render
parentupdate glfw.cpp (diff)
downloadre3-3b3324de380e14f17d533905dfe5af5ac6dba8db.tar
re3-3b3324de380e14f17d533905dfe5af5ac6dba8db.tar.gz
re3-3b3324de380e14f17d533905dfe5af5ac6dba8db.tar.bz2
re3-3b3324de380e14f17d533905dfe5af5ac6dba8db.tar.lz
re3-3b3324de380e14f17d533905dfe5af5ac6dba8db.tar.xz
re3-3b3324de380e14f17d533905dfe5af5ac6dba8db.tar.zst
re3-3b3324de380e14f17d533905dfe5af5ac6dba8db.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 e37af6b7..0ab9e8df 100644
--- a/src/render/MBlur.cpp
+++ b/src/render/MBlur.cpp
@@ -52,7 +52,7 @@ CMBlur::MotionBlurOpen(RwCamera *cam)
if(pFrontBuffer)
MotionBlurClose();
-#ifdef _WIN32
+#ifndef LIBRW
extern void _GetVideoMemInfo(LPDWORD total, LPDWORD avaible);
DWORD total, avaible;
@@ -104,11 +104,11 @@ CMBlur::MotionBlurOpen(RwCamera *cam)
rect.h = RwRasterGetHeight(RwCameraGetRaster(cam));
}
-#ifdef _WIN32
+#ifndef LIBRW
_GetVideoMemInfo(&total, &avaible);
debug("Available video memory %d\n", avaible);
- CreateImmediateModeData(cam, &rect);
#endif
+ CreateImmediateModeData(cam, &rect);
}
else
{