~alan-griffiths/mir/keep-helgrind-happy

« back to all changes in this revision

Viewing changes to src/server/graphics/nested/nested_display.cpp

  • Committer: Tarmac
  • Author(s): Alexandros Frantzis
  • Date: 2014-02-13 23:14:04 UTC
  • mfrom: (1381.2.8 build-multiple-platforms)
  • Revision ID: tarmac-20140213231404-498hz81kz0txa939
build: Allow building multiple platforms in the same build.

Approved by PS Jenkins bot, Andreas Pokorny, Kevin DuBois, Alberto Aguirre, Alan Griffiths.

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
 
108
108
EGLNativeWindowType mgn::detail::EGLDisplayHandle::native_window(EGLConfig /*egl_config*/, MirSurface* mir_surface) const
109
109
{
110
 
    auto const native_window = static_cast<EGLNativeWindowType>(mir_surface_get_egl_native_window(mir_surface));
 
110
    auto const native_window =
 
111
        reinterpret_cast<EGLNativeWindowType>(mir_surface_get_egl_native_window(mir_surface));
111
112
    if (!native_window)
112
113
        BOOST_THROW_EXCEPTION(std::runtime_error("Nested Mir Display Error: Failed to fetch EGL native window."));
113
114