summaryrefslogtreecommitdiff
path: root/common.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2017-02-21 15:39:40 -0500
committerRob Clark <robdclark@gmail.com>2017-02-21 15:39:40 -0500
commit3e78eabeeeeb8476583cf2d37f1bd561307694db (patch)
tree95b519bd94cb268bbbb89a81ed0f8385f0cefe98 /common.c
parentf639c63a366d34e7d98facd58d0855f9e1ab1d66 (diff)
downloadkmscube-3e78eabeeeeb8476583cf2d37f1bd561307694db.tar.gz
add yuv/rgb tex mode
Diffstat (limited to 'common.c')
-rw-r--r--common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.c b/common.c
index a28cb09..7c59632 100644
--- a/common.c
+++ b/common.c
@@ -71,6 +71,9 @@ int init_egl(struct egl *egl, const struct gbm *gbm)
} while (0)
get_proc(eglGetPlatformDisplayEXT);
+ get_proc(eglCreateImageKHR);
+ get_proc(eglDestroyImageKHR);
+ get_proc(glEGLImageTargetTexture2DOES);
if (egl->eglGetPlatformDisplayEXT) {
egl->display = egl->eglGetPlatformDisplayEXT(EGL_PLATFORM_GBM_KHR,