src/video/wayland/SDL_waylandwindow.c
changeset 9467 975453c4e217
parent 9362 dfd8202eb9a7
child 9468 d001cff818bb
     1.1 --- a/src/video/wayland/SDL_waylandwindow.c	Tue Apr 07 21:52:22 2015 -0400
     1.2 +++ b/src/video/wayland/SDL_waylandwindow.c	Wed Mar 18 01:14:45 2015 +0100
     1.3 @@ -179,17 +179,6 @@
     1.4      }
     1.5  #endif /* SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH */
     1.6  
     1.7 -    /**
     1.8 -     * If the user specified 0x0 as the size (turned to 1x1 by SDL_CreateWindow
     1.9 -     * in SDL_video.c), we want to make the window fill the whole screen
    1.10 -     **/
    1.11 -    if (window->w == 1) {
    1.12 -        window->w = c->screen_allocation.width;
    1.13 -    }
    1.14 -    if (window->h == 1) {
    1.15 -        window->h = c->screen_allocation.height;
    1.16 -    }
    1.17 -
    1.18      data->egl_window = WAYLAND_wl_egl_window_create(data->surface,
    1.19                                              window->w, window->h);
    1.20