summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-02 16:27:44 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commitccd8c4d8957c4a561ae1d2d9a53525fe2a4e4329 (patch)
tree5db8ac8994635e1cbc7c6fa5911e2aee5fdcb669
parentfe0c22a9cb528e55ad8d633f8d286116e016fe3c (diff)
app: do not set surface source rectangle on layout setup
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
-rw-r--r--src/app.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/app.cpp b/src/app.cpp
index 6a7f5b4..5791f21 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -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);