proper SDL shutdown - fixes exit on RPi HW accel version

This commit is contained in:
Dagen Brock 2018-08-24 14:18:44 -05:00
parent 632d824a8c
commit 12ec7c4fa9

View File

@ -773,6 +773,10 @@ int x_show_alert(int is_fatal, const char *str) {
return 0;
}
void xdriver_end() {
SDL_Quit();
}
// This will help us determine how well and which drivers are supported on
// different SDL platforms
void debuginfo_renderer(SDL_Renderer *r) {
@ -816,5 +820,5 @@ void x_set_mask_and_shift(word32 x_mask, word32 *mask_ptr, int *shift_left_ptr,
void x_update_color(int col_num, int red, int green, int blue, word32 rgb) { }
void x_update_physical_colormap() { }
void show_xcolor_array() { }
void xdriver_end() { }
void x_push_done() { }