Added high-dpi / retina support to the no-game screen; additional minor tweaks and cleanup.

This commit is contained in:
Alex Szpakowski
2015-11-11 19:35:45 -04:00
parent 3cd18bae20
commit 7043b5314d
10 changed files with 2025 additions and 106 deletions
-2
View File
@@ -164,11 +164,9 @@ void GLBuffer::setMappedRangeModified(size_t offset, size_t modifiedsize)
// a and b are marked as modified.
size_t old_range_end = modified_offset + modified_size;
modified_offset = std::min(modified_offset, offset);
size_t new_range_end = std::max(offset + modifiedsize, old_range_end);
modified_size = new_range_end - modified_offset;
}