~cemil-azizoglu/mir/enum-deprecation

« back to all changes in this revision

Viewing changes to tests/acceptance-tests/test_display_configuration.cpp

  • Committer: Cemil Azizoglu
  • Date: 2017-01-03 18:06:41 UTC
  • Revision ID: cemil.azizoglu@canonical.com-20170103180641-1kv03uueb1kercvn
mir_window_create and mir_window_create_sync

Show diffs side-by-side

added added

removed removed

Lines of Context:
204
204
 
205
205
        auto const spec = mir_create_normal_window_spec(connection, 100, 100);
206
206
        mir_window_spec_set_pixel_format(spec, mir_pixel_format_abgr_8888);
207
 
        surface = mir_surface_create_sync(spec);
 
207
        surface = mir_window_create_sync(spec);
208
208
        mir_window_spec_release(spec);
209
209
        mir_buffer_stream_swap_buffers_sync(mir_surface_get_buffer_stream(surface));
210
210
    }