summaryrefslogtreecommitdiffstats
path: root/libvncclient/vncviewer.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvncclient/vncviewer.c')
-rw-r--r--libvncclient/vncviewer.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c
index b12116c..4f87f01 100644
--- a/libvncclient/vncviewer.c
+++ b/libvncclient/vncviewer.c
@@ -116,11 +116,7 @@ static rfbBool MallocFrameBuffer(rfbClient* client) {
static void initAppData(AppData* data) {
data->shareDesktop=TRUE;
data->viewOnly=FALSE;
-#ifdef LIBVNCSERVER_CONFIG_LIBVA
- data->encodingsString="h264 tight zrle ultra copyrect hextile zlib corre rre raw";
-#else
data->encodingsString="tight zrle ultra copyrect hextile zlib corre rre raw";
-#endif
data->useBGR233=FALSE;
data->nColours=0;
data->forceOwnCmap=FALSE;
@@ -158,9 +154,6 @@ rfbClient* rfbGetClient(int bitsPerSample,int samplesPerPixel,
/* default: use complete frame buffer */
client->updateRect.x = -1;
- client->frameBuffer = NULL;
- client->outputWindow = 0;
-
client->format.bitsPerPixel = bytesPerPixel*8;
client->format.depth = bitsPerSample*samplesPerPixel;
client->appData.requestedDepth=client->format.depth;