Demos (master): eglkms: Track mesa function rename.

Kristian Høgsberg krh at kemper.freedesktop.org
Mon Aug 13 14:10:16 UTC 2012


Module: Demos
Branch: master
Commit: 11ac30649e8360f295050a1029805c1d769aaacb
URL:    http://cgit.freedesktop.org/mesa/demos/commit/?id=11ac30649e8360f295050a1029805c1d769aaacb

Author: Scott Moreau <oreaus at gmail.com>
Date:   Thu Jul 19 01:15:57 2012 -0600

eglkms: Track mesa function rename.

gbm_bo_get_pitch was renamed to gbm_bo_get_stride. eglkms fails
to build against mesa master without this.

---

 src/egl/opengl/eglkms.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/egl/opengl/eglkms.c b/src/egl/opengl/eglkms.c
index 1006317..6ba0f12 100644
--- a/src/egl/opengl/eglkms.c
+++ b/src/egl/opengl/eglkms.c
@@ -239,7 +239,7 @@ int main(int argc, char *argv[])
 
    bo = gbm_surface_lock_front_buffer(gs);
    handle = gbm_bo_get_handle(bo).u32;
-   stride = gbm_bo_get_pitch(bo);
+   stride = gbm_bo_get_stride(bo);
 
    printf("handle=%d, stride=%d\n", handle, stride);
 




More information about the mesa-commit mailing list