restrict to 960 to save memory on GPU

This commit is contained in:
HappyZ 2023-04-29 20:16:43 -07:00
parent c4de25e3b7
commit 5cdd1dc85b
1 changed files with 4 additions and 4 deletions

View File

@ -215,8 +215,8 @@
return;
}
if (widthVal < 8 || widthVal > 1024) {
alert("width must be between 8 and 1024!");
if (widthVal < 8 || widthVal > 960) {
alert("width must be between 8 and 960!");
return;
}
@ -225,8 +225,8 @@
return;
}
if (heightVal < 8 || heightVal > 1024) {
alert("height must be between 8 and 1024!");
if (heightVal < 8 || heightVal > 960) {
alert("height must be between 8 and 960!");
return;
}