From b587018c5605236dc9a44dabfa0a3124c3ee12c2 Mon Sep 17 00:00:00 2001 From: Jools Wills Date: Thu, 30 Mar 2017 22:10:16 +0100 Subject: [PATCH] hardcode struct for compatibility between various mali EGL headers Old kronos headers used mali_native_window, ARM's headers used fbdev_window, and latest mali-fbdev package on the odroid with newer khronos headers, the struct seems missing --- gfx/drivers_context/mali_fbdev_ctx.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gfx/drivers_context/mali_fbdev_ctx.c b/gfx/drivers_context/mali_fbdev_ctx.c index 1b7110d836..5d8b9d3d6c 100644 --- a/gfx/drivers_context/mali_fbdev_ctx.c +++ b/gfx/drivers_context/mali_fbdev_ctx.c @@ -44,7 +44,10 @@ typedef struct egl_ctx_data_t egl; #endif - struct mali_native_window native_window; + struct { + unsigned short width; + unsigned short height; + } native_window; bool resize; unsigned width, height; } mali_ctx_data_t;