egl/wayland: don't modify the vtbl if an extension is not available
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 15 May 2017 15:14:16 +0000 (16:14 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 29 May 2017 15:59:14 +0000 (16:59 +0100)
commit83a792cf25e3171535a20390b0d48f33c266b852
treeb5d7efbd01b19ccfc9a8e8dc792690bd40ee3663
parent701311425ee5f2e7b39bcb5e4ef4fa45c01cf836
egl/wayland: don't modify the vtbl if an extension is not available

With previous commit we'll error out should one be using the extension
when it's not available. Thus we no longer need to modify the vtbl.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/egl/drivers/dri2/platform_wayland.c