egl: Use _eglCreatePixmapSurfaceCommon consistently
authorKyle Brenneman <kbrenneman@nvidia.com>
Mon, 12 Sep 2016 21:25:56 +0000 (17:25 -0400)
committerAdam Jackson <ajax@redhat.com>
Wed, 14 Sep 2016 15:45:58 +0000 (11:45 -0400)
commit8cc3d9855f94cd0f2274a1831bc6fa8912ddea9c
tree1ca7fe8dd9f38daaa5daa2a926c9f2beb30b623a
parent7d7ae5e1c3451174a3c8dec2d50763a40069fe5b
egl: Use _eglCreatePixmapSurfaceCommon consistently

This moves the native pixmap 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