Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GRAPHICS: fix off-by-one errors when drawing a rounded rectangle
The code would create a rectangle of width+1 by weight+1, resulting in buffer overflows when drawing at the bottom limit of a surface.
- Loading branch information
1 parent
6ba2fb9
commit 2d8e057
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters