aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/Surface.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2017-04-28 11:33:28 +0200
committerPierre Ossman <ossman@cendio.se>2017-04-28 11:47:37 +0200
commit3b347313f1880c0744fd7aa29f45ea010dcfcf42 (patch)
tree1c300bdcdd2c115c5340e36bdcc29dc2e6200aac /vncviewer/Surface.h
parent2d0dc3abee27c9383ad3ab23e02ecf94fcdd7596 (diff)
downloadtigervnc-3b347313f1880c0744fd7aa29f45ea010dcfcf42.tar.gz
tigervnc-3b347313f1880c0744fd7aa29f45ea010dcfcf42.zip
Create new CGImage for each draw
The system expects these to be immutable, so changing the data after creation only works in some special cases. We need to recreate the CGImage object each time we've changed something.
Diffstat (limited to 'vncviewer/Surface.h')
-rw-r--r--vncviewer/Surface.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/vncviewer/Surface.h b/vncviewer/Surface.h
index 032889b4..1cb87f50 100644
--- a/vncviewer/Surface.h
+++ b/vncviewer/Surface.h
@@ -60,7 +60,6 @@ protected:
HBITMAP bitmap;
#elif defined(__APPLE__)
unsigned char* data;
- CGImageRef image;
#else
Pixmap pixmap;
Picture picture;