Update server.c removing duplicated code block (#306)
This commit is contained in:
parent
c6b4411b86
commit
e45b420ccc
|
@ -140,11 +140,6 @@ bool server_init(struct sway_server *server) {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!server->backend) {
|
||||
sway_log(SWAY_ERROR, "Unable to create backend");
|
||||
return false;
|
||||
}
|
||||
|
||||
server->renderer = fx_renderer_create(server->backend);
|
||||
if (!server->renderer) {
|
||||
sway_log(SWAY_ERROR, "Failed to create fx_renderer");
|
||||
|
|
Loading…
Reference in a new issue