diff options
Diffstat (limited to 'client_examples/SDLvncviewer.c')
-rw-r--r-- | client_examples/SDLvncviewer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client_examples/SDLvncviewer.c b/client_examples/SDLvncviewer.c index 80bb5a4..07d3869 100644 --- a/client_examples/SDLvncviewer.c +++ b/client_examples/SDLvncviewer.c @@ -246,7 +246,8 @@ int main(int argc,char** argv) { SDL_Init(SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE); - cl=rfbGetClient(5,3,2); + /* 16-bit: cl=rfbGetClient(5,3,2); */ + cl=rfbGetClient(8,3,4); cl->MallocFrameBuffer=resize; cl->GotFrameBufferUpdate=update; if(!rfbInitClient(cl,&argc,argv)) |