Skip to content

Commit

Permalink
egl_stream: add cast to EGLAttrib (#400)
Browse files Browse the repository at this point in the history
Signed-off-by: Makoto Sato <makoto.sato@atmark-techno.com>
  • Loading branch information
makotosato-at authored Nov 9, 2023
1 parent 1902050 commit bd5e4b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ std::unique_ptr<ELinuxEGLSurface> ContextEglStream::CreateOnscreenSurface(
EGLOutputLayerEXT layer;
EGLAttrib layer_attribs[] = {
// clang-format off
EGL_DRM_PLANE_EXT, static_cast<NativeWindowDrmEglstream*>(window)->PlaneId(),
EGL_DRM_PLANE_EXT, static_cast<EGLAttrib>(static_cast<NativeWindowDrmEglstream*>(window)->PlaneId()),
EGL_NONE
// clang-format on
};
Expand Down

0 comments on commit bd5e4b6

Please sign in to comment.