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:
parent
036ace6227
commit
148655bb7d
@ -163,10 +163,6 @@ static void seat_add_video(struct kmscon_seat *seat,
|
|||||||
if (ret)
|
if (ret)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
ret = uterm_video_use(seat->video);
|
|
||||||
if (ret)
|
|
||||||
goto err_video;
|
|
||||||
|
|
||||||
ret = kmscon_ui_new(&seat->ui, seat->app->eloop, seat->video,
|
ret = kmscon_ui_new(&seat->ui, seat->app->eloop, seat->video,
|
||||||
seat->input);
|
seat->input);
|
||||||
if (ret)
|
if (ret)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user