restrict to 960 to save memory on GPU
This commit is contained in:
parent
c4de25e3b7
commit
5cdd1dc85b
|
|
@ -215,8 +215,8 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (widthVal < 8 || widthVal > 1024) {
|
if (widthVal < 8 || widthVal > 960) {
|
||||||
alert("width must be between 8 and 1024!");
|
alert("width must be between 8 and 960!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -225,8 +225,8 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (heightVal < 8 || heightVal > 1024) {
|
if (heightVal < 8 || heightVal > 960) {
|
||||||
alert("height must be between 8 and 1024!");
|
alert("height must be between 8 and 960!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue