Those checks were *very likely* meant to clamp the max value, not the min one. Fixes https://github.com/godotengine/godot/issues/10059#issuecomment-606993001. (cherry picked from commit dbf52c63cc)
dbf52c63cc
Remove rg-etc1 code. Also updated travis to use ubuntu 14.04. Fixes #8457.