TINYGL: Added comment to the code.
This commit is contained in:
parent
688a76455a
commit
a42d9e2b2d
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ void tglPresentBuffer() {
|
|||
rectangles.push_back(DirtyRectangle(currentCall.getDirtyRegion(), 255, 0, 0));
|
||||
}
|
||||
|
||||
// This loop increases outer rectangle coordinates to favor merging of adjacent rectangles.
|
||||
for (RectangleIterator it = rectangles.begin(); it != rectangles.end(); ++it) {
|
||||
(*it).rectangle.right++;
|
||||
(*it).rectangle.bottom++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue