From bb1eee8a0f42170af6d9283b2777600acc642809 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Thu, 17 May 2012 16:31:38 +0200 Subject: 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 --- tests/test_output.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') 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) -- cgit v1.2.3