app: do not set surface source rectangle on layout setup
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>
Wed, 2 Aug 2017 14:27:44 +0000 (16:27 +0200)
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>
Tue, 8 Aug 2017 15:24:00 +0000 (17:24 +0200)
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
src/app.cpp

index 6a7f5b4..5791f21 100644 (file)
@@ -307,8 +307,6 @@ void App::surface_set_layout(uint32_t surface_id) {
 
    // configure surface to wxh dimensions
    s->set_configuration(w, h);
-   // set source rect to "entire surface"
-   s->set_source_rectangle(0, 0, w, h);
    // set destination to the display rectangle
    s->set_destination_rectangle(x, y, w, h);