Skip to content

Commit

Permalink
Fix display server crashing on some platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Jan 7, 2020
1 parent 85f2557 commit 3d80838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gfx/video_display_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void* video_display_server_init(void)
break;
}

if (current_display_server->init)
if (current_display_server->init && current_display_server->init)
current_display_server_data = current_display_server->init();

RARCH_LOG("[Video]: Found display server: %s\n",
Expand Down

0 comments on commit 3d80838

Please sign in to comment.