tiny include fix

This commit is contained in:
Megamouse 2021-01-10 20:59:39 +01:00 committed by Ivan
parent 70804e2ba6
commit 838cbe1840
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "GLFragmentProgram.h" #include "GLFragmentProgram.h"
#include "Emu/System.h" #include "Emu/system_config.h"
#include "GLFragmentProgram.h" #include "GLFragmentProgram.h"
#include "GLCommonDecompiler.h" #include "GLCommonDecompiler.h"
#include "../GCM.h" #include "../GCM.h"

View File

@ -618,7 +618,7 @@ namespace rsx
auto width_ = (width * 100) / get_resolution_scale_percent(); auto width_ = (width * 100) / get_resolution_scale_percent();
auto height_ = (height * 100) / get_resolution_scale_percent(); auto height_ = (height * 100) / get_resolution_scale_percent();
if (clamp) if constexpr (clamp)
{ {
width_ = std::max<u16>(width_, 1); width_ = std::max<u16>(width_, 1);
height_ = std::max<u16>(height_, 1); height_ = std::max<u16>(height_, 1);