Fix lower right borders not being filled by engine_rendertarget_fill
This commit is contained in:
parent
2cf2d7441b
commit
1f6789c909
@ -3,6 +3,7 @@ struct ENGINE_TEXTURE * engine_rendertarget_get() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void engine_rendertarget_fill(int sx,int sy,int ex,int ey) {
|
void engine_rendertarget_fill(int sx,int sy,int ex,int ey) {
|
||||||
|
ex += 1; ey += 1;
|
||||||
int y = sy;
|
int y = sy;
|
||||||
while (y < ey) {
|
while (y < ey) {
|
||||||
int x = sx;
|
int x = sx;
|
||||||
|
Loading…
Reference in New Issue
Block a user