diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2012-01-18 18:09:08 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@googlemail.com> | 2012-01-18 18:09:08 +0100 |
commit | 05a1747f000343d673898f284ca17d7f03a250a3 (patch) | |
tree | ec43b158f35dabe96c6c780aea2e6c22f15a32e0 /tests | |
parent | cabde245df11046f84ae16b7c60d9655d2c799e1 (diff) |
console: take reference of compositor
To switch to the new drawing subsystem we need a reference to a valid
compositor object so we can retrieve the GL context.
This also applies to the terminal object.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_console.c | 2 | ||||
-rw-r--r-- | tests/test_terminal.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_console.c b/tests/test_console.c index 9e72499..2221214 100644 --- a/tests/test_console.c +++ b/tests/test_console.c @@ -297,7 +297,7 @@ static int setup_eloop(struct console *con) if (ret) goto err_loop; - ret = kmscon_console_new(&con->con, con->ff); + ret = kmscon_console_new(&con->con, con->ff, con->comp); if (ret) goto err_loop; diff --git a/tests/test_terminal.c b/tests/test_terminal.c index 48d30ba..969f1ec 100644 --- a/tests/test_terminal.c +++ b/tests/test_terminal.c @@ -182,7 +182,7 @@ static int setup_app(struct app *app) if (ret) goto err_loop; - ret = kmscon_terminal_new(&app->term, app->ff); + ret = kmscon_terminal_new(&app->term, app->ff, app->comp); if (ret) goto err_loop; |