summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-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
{