Skip to content

Commit dc67e64

Browse files
committed
Fixed rendering bug
1 parent 5459eba commit dc67e64

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/gl/Surface.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ namespace lsp
804804
// Simple case
805805
if ((ix >= fxe) || (ixe < fx) || (iy >= fye) || (iye < fy))
806806
{
807-
fill_rect(ci, fx, fy, fw, fh);
807+
fill_rect(ci, fx, fy, fxe, fye);
808808
return;
809809
}
810810
else if ((ix <= fx) && (ixe >= fxe) && (iy <= fy) && (iye >= fye))
@@ -1796,7 +1796,8 @@ namespace lsp
17961796
// Draw geometry
17971797
fill_frame(
17981798
uint32_t(res), flags, radius,
1799-
fx, fy, fw, fh,ix, iy, iw, ih);
1799+
fx, fy, fw, fh,
1800+
ix, iy, iw, ih);
18001801
}
18011802

18021803
void Surface::fill_frame(

0 commit comments

Comments
 (0)