Update graphics.cpp

Unlock resolution for rpgmaker vx ace games
This commit is contained in:
pk-2000 2020-04-06 00:11:25 +00:00 committed by GitHub
parent 9dc42914de
commit c086cdf41d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -926,8 +926,8 @@ int Graphics::height() const
void Graphics::resizeScreen(int width, int height)
{
width = clamp(width, 1, 640);
height = clamp(height, 1, 480);
width = clamp(width, 1, p->threadData->config.defScreenW);
height = clamp(height, 1, p->threadData->config.defScreenH);
Vec2i size(width, height);