diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2012-05-17 16:31:38 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@googlemail.com> | 2012-05-17 16:31:38 +0200 |
commit | bb1eee8a0f42170af6d9283b2777600acc642809 (patch) | |
tree | a45de1105bd426a849b284bbe57d0d56de9d3dfb /tests | |
parent | 6ae48322ed28868844c4419b1b61c41c925926be (diff) |
test_output: explicitely activate GL context
We now support multiple GL contexts in uterm so we need to explicitely
enable them before using them.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_output.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_output.c b/tests/test_output.c index 20d8022..d3da2b7 100644 --- a/tests/test_output.c +++ b/tests/test_output.c @@ -186,6 +186,10 @@ int main(int argc, char **argv) if (ret) goto err_exit; + ret = uterm_video_use(video); + if (ret) + goto err_unref; + log_notice("Wakeing up video object..."); ret = uterm_video_wake_up(video); if (ret < 0) |