~raof/mir/prober-drm-device-probe

« back to all changes in this revision

Viewing changes to src/client/mir_client_library.cpp

  • Committer: Kevin DuBois
  • Date: 2012-11-13 01:36:29 UTC
  • mfrom: (245 trunk)
  • mto: This revision was merged to the branch mainline in revision 246.
  • Revision ID: kevin.dubois@canonical.com-20121113013629-q4496w4mp5e33auk
merge in base branch. move the demo clients to a new directory, examples/

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
 
179
179
MirEGLNativeWindowType mir_surface_get_egl_native_window(MirSurface *surface)
180
180
{
181
 
    auto platform = mcl::create_client_platform(); 
182
 
    return (MirEGLNativeWindowType) platform->create_egl_window(surface);
 
181
    return surface->generate_native_window();
183
182
}