Don't call init_render when using new backends

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2019-02-20 18:04:04 +00:00
parent 72a921da2c
commit 417e12bc62
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
1 changed files with 1 additions and 1 deletions

View File

@ -2640,7 +2640,7 @@ session_init(int argc, char **argv, Display *dpy, const char *config_file,
init_overlay(ps); init_overlay(ps);
// Initialize filters, must be preceded by OpenGL context creation // Initialize filters, must be preceded by OpenGL context creation
if (!init_render(ps)) { if (!ps->o.experimental_backends && !init_render(ps)) {
log_fatal("Failed to initialize the backend"); log_fatal("Failed to initialize the backend");
exit(1); exit(1);
} }