uint32_t *palette;
uint64_t gui_timer_interval;
- int switchbpp;
int shared_buf;
void (*dpy_update)(struct DisplayState *s, int x, int y, int w, int h);
char *x509key;
#endif
char challenge[VNC_AUTH_CHALLENGE_SIZE];
+ int switchbpp;
#if CONFIG_VNC_TLS
int wiremode;
default:
return;
}
- if (ds->switchbpp) {
+ if (vs->switchbpp) {
vnc_client_error(vs);
} else if (vs->csock != -1 && vs->has_WMVi) {
/* Sending a WMVi message to notify the client*/
if (strncmp(options, "password", 8) == 0) {
password = 1; /* Require password auth */
} else if (strncmp(options, "switchbpp", 9) == 0) {
- ds->switchbpp = 1;
+ vs->switchbpp = 1;
#if CONFIG_VNC_TLS
} else if (strncmp(options, "tls", 3) == 0) {
tls = 1; /* Require TLS */