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:
parent
79ba5ef27b
commit
39cc3af569
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ public class TextLineRenderer implements ILinelRenderer {
|
||||||
}
|
}
|
||||||
gc.drawImage(buffer, x, y);
|
gc.drawImage(buffer, x, y);
|
||||||
doubleBufferGC.dispose();
|
doubleBufferGC.dispose();
|
||||||
|
buffer.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void fillBackground(GC gc, int x, int y, int width, int height) {
|
private void fillBackground(GC gc, int x, int y, int width, int height) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue