Skip to content

Commit 7703004

Browse files
committed
examples/client: don't set updateRect in SDLvncviewer
This is already done by the library.
1 parent a06711e commit 7703004

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

examples/client/SDLvncviewer.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ static rfbBool resize(rfbClient* client) {
4242
if (enableResizable)
4343
sdlFlags |= SDL_WINDOW_RESIZABLE;
4444

45-
client->updateRect.x = client->updateRect.y = 0;
46-
client->updateRect.w = width; client->updateRect.h = height;
47-
4845
/* (re)create the surface used as the client's framebuffer */
4946
SDL_FreeSurface(rfbClientGetClientData(client, SDL_Init));
5047
SDL_Surface* sdl=SDL_CreateRGBSurface(0,

0 commit comments

Comments
 (0)