Skip to content

Commit

Permalink
Backed out changeset 064a1998a957
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Apr 9, 2015
1 parent f879634 commit 67549d3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/video/wayland/SDL_waylandvideo.c
Expand Up @@ -284,13 +284,11 @@ Wayland_VideoInit(_THIS)

data->display = WAYLAND_wl_display_connect(NULL);
if (data->display == NULL) {
SDL_free(data);
return SDL_SetError("Failed to connect to a Wayland display");
}

data->registry = wl_display_get_registry(data->display);
if (data->registry == NULL) {
SDL_free(data);
return SDL_SetError("Failed to get the Wayland registry");
}

Expand All @@ -304,7 +302,6 @@ Wayland_VideoInit(_THIS)

data->xkb_context = WAYLAND_xkb_context_new(0);
if (!data->xkb_context) {
SDL_free(data);
return SDL_SetError("Failed to create XKB context");
}

Expand Down

0 comments on commit 67549d3

Please sign in to comment.