mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-05 15:56:49 +00:00
tiny include fix
This commit is contained in:
parent
70804e2ba6
commit
838cbe1840
@ -1,7 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "GLFragmentProgram.h"
|
||||
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/system_config.h"
|
||||
#include "GLFragmentProgram.h"
|
||||
#include "GLCommonDecompiler.h"
|
||||
#include "../GCM.h"
|
||||
|
@ -618,7 +618,7 @@ namespace rsx
|
||||
auto width_ = (width * 100) / get_resolution_scale_percent();
|
||||
auto height_ = (height * 100) / get_resolution_scale_percent();
|
||||
|
||||
if (clamp)
|
||||
if constexpr (clamp)
|
||||
{
|
||||
width_ = std::max<u16>(width_, 1);
|
||||
height_ = std::max<u16>(height_, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user