Skip to content

Commit bd5e4b6

Browse files
egl_stream: add cast to EGLAttrib (sony#400)
Signed-off-by: Makoto Sato <[email protected]>
1 parent 1902050 commit bd5e4b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flutter/shell/platform/linux_embedded/surface/context_egl_stream.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ std::unique_ptr<ELinuxEGLSurface> ContextEglStream::CreateOnscreenSurface(
2828
EGLOutputLayerEXT layer;
2929
EGLAttrib layer_attribs[] = {
3030
// clang-format off
31-
EGL_DRM_PLANE_EXT, static_cast<NativeWindowDrmEglstream*>(window)->PlaneId(),
31+
EGL_DRM_PLANE_EXT, static_cast<EGLAttrib>(static_cast<NativeWindowDrmEglstream*>(window)->PlaneId()),
3232
EGL_NONE
3333
// clang-format on
3434
};

0 commit comments

Comments
 (0)