egl: check the correct function pointer
authorEric Engestrom <eric.engestrom@imgtec.com>
Wed, 2 Aug 2017 16:25:44 +0000 (17:25 +0100)
committerEric Engestrom <eric.engestrom@imgtec.com>
Wed, 2 Aug 2017 17:03:47 +0000 (18:03 +0100)
commitdd9eb8db13b85a764d29c0c2fa1b0c416fae7581
treeee0365cc8c51a91dbdf9d7b6d34809b1ba2e0ed6
parent595a47b8293b1d97a3ae7dbfa8db703bfb4e7aae
egl: check the correct function pointer

`.swap_interval` != `.SwapInterval`...

Fixes: 991ec1b81a76de24fd01 "egl: make platform's SwapInterval() optional"
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102015
Cc: Cedric Sodhi <manday@openmail.cc>
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Tested-by: Cedric Sodhi <manday@openmail.cc>
src/egl/drivers/dri2/egl_dri2.c
src/egl/main/eglapi.c