mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 04:40:00 +00:00
Update MBlur.cpp
This commit is contained in:
parent
d9cb9583bf
commit
3b3324de38
|
@ -52,7 +52,7 @@ CMBlur::MotionBlurOpen(RwCamera *cam)
|
||||||
if(pFrontBuffer)
|
if(pFrontBuffer)
|
||||||
MotionBlurClose();
|
MotionBlurClose();
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifndef LIBRW
|
||||||
extern void _GetVideoMemInfo(LPDWORD total, LPDWORD avaible);
|
extern void _GetVideoMemInfo(LPDWORD total, LPDWORD avaible);
|
||||||
DWORD total, avaible;
|
DWORD total, avaible;
|
||||||
|
|
||||||
|
@ -104,11 +104,11 @@ CMBlur::MotionBlurOpen(RwCamera *cam)
|
||||||
rect.h = RwRasterGetHeight(RwCameraGetRaster(cam));
|
rect.h = RwRasterGetHeight(RwCameraGetRaster(cam));
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifndef LIBRW
|
||||||
_GetVideoMemInfo(&total, &avaible);
|
_GetVideoMemInfo(&total, &avaible);
|
||||||
debug("Available video memory %d\n", avaible);
|
debug("Available video memory %d\n", avaible);
|
||||||
CreateImmediateModeData(cam, &rect);
|
|
||||||
#endif
|
#endif
|
||||||
|
CreateImmediateModeData(cam, &rect);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue