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 12:58:57 +0200
commitee234fe36a4d8be3baea010b22fe3019518625ce (patch)
treeb019eb0fa1d56b161e4ab4a2906feebbca525e7f /vncviewer/Surface.h
parent819f297de50d6d713d5b1a5f1031b97f09a4f7a1 (diff)
downloadtigervnc-ee234fe36a4d8be3baea010b22fe3019518625ce.tar.gz
tigervnc-ee234fe36a4d8be3baea010b22fe3019518625ce.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. (cherry picked from commit 3b347313f1880c0744fd7aa29f45ea010dcfcf42)
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;