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
This commit is contained in:
Jools Wills 2017-03-30 22:10:16 +01:00
parent 3da08c9d9e
commit b587018c56

View File

@ -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;