Commit c922762
proposed fix: set curr_src.h is to bottom_height before drawing bottom edges / corners in SDL_RenderTexture9Grid, to avoid issue where inadvertently using top height if the npatch existed on a larger texture than the drawn edge would cause too many pixels to be included in the bottom part of the render.
1 parent 235022f commit c922762
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4426 | 4426 | | |
4427 | 4427 | | |
4428 | 4428 | | |
| 4429 | + | |
4429 | 4430 | | |
4430 | 4431 | | |
4431 | 4432 | | |
| |||
4474 | 4475 | | |
4475 | 4476 | | |
4476 | 4477 | | |
| 4478 | + | |
4477 | 4479 | | |
4478 | 4480 | | |
4479 | 4481 | | |
| |||
0 commit comments