Update graphics.cpp
Unlock resolution for rpgmaker vx ace games
This commit is contained in:
parent
9dc42914de
commit
c086cdf41d
|
@ -926,8 +926,8 @@ int Graphics::height() const
|
||||||
|
|
||||||
void Graphics::resizeScreen(int width, int height)
|
void Graphics::resizeScreen(int width, int height)
|
||||||
{
|
{
|
||||||
width = clamp(width, 1, 640);
|
width = clamp(width, 1, p->threadData->config.defScreenW);
|
||||||
height = clamp(height, 1, 480);
|
height = clamp(height, 1, p->threadData->config.defScreenH);
|
||||||
|
|
||||||
Vec2i size(width, height);
|
Vec2i size(width, height);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue