1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-21 21:52:10 +02:00

Bug 561319: Remove flickering in terminal when changing selection (fixup)

Dispose of the image used for buffering GC.

Change-Id: I80b6edea3211847265140aa8992546a16474cadf
This commit is contained in:
Jonah Graham 2020-03-29 13:30:54 -04:00
parent 79ba5ef27b
commit 39cc3af569

View file

@ -97,6 +97,7 @@ public class TextLineRenderer implements ILinelRenderer {
}
gc.drawImage(buffer, x, y);
doubleBufferGC.dispose();
buffer.dispose();
}
private void fillBackground(GC gc, int x, int y, int width, int height) {