mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
tiny include fix
This commit is contained in:
parent
70804e2ba6
commit
838cbe1840
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue