Skip to content

Commit 6fa5ef4

Browse files
authored
Revert "va: reject NULL display in vaGetDisplayWl()"
This reverts commit c57dc62.
1 parent 1b73959 commit 6fa5ef4

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

va/wayland/va_wayland.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,6 @@ vaGetDisplayWl(struct wl_display *display)
116116
struct VADriverVTableWayland *vtable;
117117
unsigned int i;
118118

119-
if (!display)
120-
return NULL;
121-
122119
pDisplayContext = va_newDisplayContext();
123120
if (!pDisplayContext)
124121
return NULL;

0 commit comments

Comments
 (0)