mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
tiny include fix
This commit is contained in:
parent
70804e2ba6
commit
838cbe1840
@ -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…
Reference in New Issue
Block a user