We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2173c7 commit b6c8ca8Copy full SHA for b6c8ca8
1 file changed
gfx/video_driver.c
@@ -1178,7 +1178,7 @@ void video_display_server_destroy(void)
1178
if (initial_screen_orientation != current_screen_orientation)
1179
video_display_server_set_screen_orientation(initial_screen_orientation);
1180
1181
- if (current_display_server)
+ if (current_display_server && (current_display_server != &dispserv_null))
1182
if (video_st->current_display_server_data)
1183
current_display_server->destroy(video_st->current_display_server_data);
1184
}
0 commit comments