Add max renderbuffer size, round texture sizes