From 5fe4cb672f1d2d9534a79e9b877cd2e17aa5bb98 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 7 Aug 2012 23:12:54 +0200 Subject: [PATCH] eglkms: adapt to gbm stride API change gbm_bo_get_pitch() is now gbm_bo_get_stride(), as of mesa commit 7250cd506baa0bd4649b30d87509cdd0cbc06a57 --- src/egl/opengl/eglkms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egl/opengl/eglkms.c b/src/egl/opengl/eglkms.c index 98db61f..ca6b786 100644 --- a/src/egl/opengl/eglkms.c +++ b/src/egl/opengl/eglkms.c @@ -243,7 +243,7 @@ int main(int argc, char *argv[]) goto unmake_current; } handle = gbm_bo_get_handle(bo).u32; - stride = gbm_bo_get_pitch(bo); + stride = gbm_bo_get_stride(bo); image = eglCreateImageKHR(dpy, NULL, EGL_NATIVE_PIXMAP_KHR, bo, NULL); if (image == EGL_NO_IMAGE_KHR) { -- 1.7.11.4