Don't call init_render when using new backends
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
72a921da2c
commit
417e12bc62
|
@ -2640,7 +2640,7 @@ session_init(int argc, char **argv, Display *dpy, const char *config_file,
|
|||
init_overlay(ps);
|
||||
|
||||
// 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");
|
||||
exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue