egl/wayland: remove dri2_surf width/height double init.
authorEmil Velikov <emil.velikov@collabora.com>
Sun, 27 Aug 2017 10:20:33 +0000 (11:20 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 29 Aug 2017 12:43:04 +0000 (13:43 +0100)
commit10efd6fe7e914f5093054ff20cc6aebca2e54128
treecdb42a83e1373432acf25e9c2a89810d7fd6d351
parentda100fe6970ac8ca34ced69c6c5dfe8a4f5bec90
egl/wayland: remove dri2_surf width/height double init.

The dimensions are already set [to 0 or the value provided by the
attributes list] by the _eglInitSurface() call further up.

The values are updated, as the DRI driver calls the DRI2/IMAGE_LOADER'
get_buffers, shortly before making use of the values.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Daniel Stone <daniels@collabora.com>
src/egl/drivers/dri2/platform_wayland.c