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 <dh.herrmann@googlemail.com>
This commit is contained in:
David Herrmann 2012-06-24 10:28:40 +02:00
parent 036ace6227
commit 148655bb7d

View File

@ -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)