Skip to content

Fix EGLNativeWindowType type compatibility with coregl update#162

Open
JSUYA wants to merge 2 commits intoflutter-tizen:masterfrom
JSUYA:update_coregl_type
Open

Fix EGLNativeWindowType type compatibility with coregl update#162
JSUYA wants to merge 2 commits intoflutter-tizen:masterfrom
JSUYA:update_coregl_type

Conversation

@JSUYA
Copy link
Member

@JSUYA JSUYA commented Mar 13, 2026

Update eglCreateWindowSurface call to properly cast tbm_surface_queue and egl_window to EGLNativeWindowType to match the updated coregl's eglplatform.h signature.

Update eglCreateWindowSurface call to properly cast tbm_surface_queue and egl_window to
EGLNativeWindowType to match the updated coregl's eglplatform.h signature.
@JSUYA JSUYA self-assigned this Mar 13, 2026
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates eglCreateWindowSurface calls to fix a type compatibility issue with EGLNativeWindowType. The changes use reinterpret_cast to cast window handles to EGLNativeWindowType, adapting to an apparent change in the underlying type from a pointer to a handle. This fix is applied for both Wayland and NUI surface creation paths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant