egl: Use _eglCreateWindowSurfaceCommon consistently
authorKyle Brenneman <kbrenneman@nvidia.com>
Mon, 12 Sep 2016 21:04:38 +0000 (17:04 -0400)
committerAdam Jackson <ajax@redhat.com>
Wed, 14 Sep 2016 15:45:58 +0000 (11:45 -0400)
commit7d7ae5e1c3451174a3c8dec2d50763a40069fe5b
treee8919a9ef13f55e4ce29c85530814f5853760fdc
parent017946b7247ea7c36219b44dfc118ccad4da7d1d
egl: Use _eglCreateWindowSurfaceCommon consistently

This moves the native window fixup to a helper function so we don't
repeat ourselves.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/main/eglapi.c