eglfs: fix eglfs_mali compile for odroid-mali
Avoid duplicated struct fbdev_window definition (introduced by commit
58bed4cda9
) by renaming the local
shadow definition to struct shadow_fbdev_window.
Task-number: QTBUG-57156
Change-Id: I72b03f09fc57ddcd0284d6d3554a5658e02b80fc
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Julien Corjon <corjon.j@ecagroup.com>
This commit is contained in:
parent
0d2f0164f4
commit
f1b4bd4790
@ -42,7 +42,7 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
struct fbdev_window {
|
||||
struct shadow_fbdev_window {
|
||||
unsigned short width;
|
||||
unsigned short height;
|
||||
};
|
||||
@ -85,7 +85,7 @@ EGLNativeWindowType QEglFSMaliIntegration::createNativeWindow(QPlatformWindow *w
|
||||
Q_UNUSED(window);
|
||||
Q_UNUSED(format);
|
||||
|
||||
fbdev_window *fbwin = reinterpret_cast<fbdev_window *>(malloc(sizeof(fbdev_window)));
|
||||
shadow_fbdev_window *fbwin = reinterpret_cast<shadow_fbdev_window *>(malloc(sizeof(shadow_fbdev_window)));
|
||||
if (NULL == fbwin)
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user