diff --git a/source/src/rendergl.cpp b/source/src/rendergl.cpp index 3cb23e36..4e3deec9 100644 --- a/source/src/rendergl.cpp +++ b/source/src/rendergl.cpp @@ -425,7 +425,7 @@ void fixresizedscreen() } FVARP(fov, 75, 90, 120); -VARP(scopefov, 5, 50, 50); +VARP(scopefov, 5, 50, 60); VARP(spectfov, 5, 110, 120); diff --git a/source/src/texture.cpp b/source/src/texture.cpp index eb370167..e2f16c49 100644 --- a/source/src/texture.cpp +++ b/source/src/texture.cpp @@ -88,10 +88,10 @@ void resizetexture(int w, int h, bool mipmap, bool canreduce, GLenum target, int { int hwlimit = hwtexsize, sizelimit = mipmap && maxtexsize ? min(maxtexsize, hwlimit) : hwlimit; - if(canreduce) loopi(texreduce) + if(canreduce && texreduce) { - if(w > 1) w /= 2; - if(h > 1) h /= 2; + w = max(w>>texreduce, 1); + h = max(h>>texreduce, 1); } w = min(w, sizelimit); h = min(h, sizelimit);