From 3b3324de380e14f17d533905dfe5af5ac6dba8db Mon Sep 17 00:00:00 2001 From: Fire-Head Date: Mon, 29 Jun 2020 11:14:00 +0300 Subject: Update MBlur.cpp --- src/render/MBlur.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/render/MBlur.cpp') 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 { -- cgit v1.2.3