From 148655bb7df9fcc9574dad30609f53853cf0e81c Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Sun, 24 Jun 2012 10:28:40 +0200 Subject: [PATCH] main: do not depend on OpenGL We currently try activating the OpenGL context when adding a video device to a seat. However, not all video backends provide OpenGL contexts so remove this restriction. The terminal subsystem does all this by itself now. Signed-off-by: David Herrmann --- src/main.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main.c b/src/main.c index aa0745c..92fc170 100644 --- a/src/main.c +++ b/src/main.c @@ -163,10 +163,6 @@ static void seat_add_video(struct kmscon_seat *seat, if (ret) return; - ret = uterm_video_use(seat->video); - if (ret) - goto err_video; - ret = kmscon_ui_new(&seat->ui, seat->app->eloop, seat->video, seat->input); if (ret)