src/video/wayland/SDL_waylandopengles.c
changeset 11175 cbc6a8a5b701
parent 10737 3406a0f8b041
child 11811 5d94cb6b24d3
equal deleted inserted replaced
11174:3767cdd2d64b 11175:cbc6a8a5b701
    33 int
    33 int
    34 Wayland_GLES_LoadLibrary(_THIS, const char *path) {
    34 Wayland_GLES_LoadLibrary(_THIS, const char *path) {
    35     int ret;
    35     int ret;
    36     SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;
    36     SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;
    37     
    37     
    38     ret = SDL_EGL_LoadLibrary(_this, path, (NativeDisplayType) data->display);
    38     ret = SDL_EGL_LoadLibrary(_this, path, (NativeDisplayType) data->display, 0);
    39 
    39 
    40     Wayland_PumpEvents(_this);
    40     Wayland_PumpEvents(_this);
    41     WAYLAND_wl_display_flush(data->display);
    41     WAYLAND_wl_display_flush(data->display);
    42     
    42     
    43     return ret;
    43     return ret;