summaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/vncviewer/BIPixelBuffer.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/tigervnc/vncviewer/BIPixelBuffer.java')
-rw-r--r--java/com/tigervnc/vncviewer/BIPixelBuffer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/tigervnc/vncviewer/BIPixelBuffer.java b/java/com/tigervnc/vncviewer/BIPixelBuffer.java
index 6690c79f..ae38302c 100644
--- a/java/com/tigervnc/vncviewer/BIPixelBuffer.java
+++ b/java/com/tigervnc/vncviewer/BIPixelBuffer.java
@@ -38,7 +38,7 @@ public class BIPixelBuffer extends PlatformPixelBuffer implements ImageObserver
}
public void updateColourMap() {
- cm = new IndexColorModel(8, nColours, reds, greens, blues);
+ super.updateColourMap();
createImage(width_, height_);
}