back out my previous change, it breaks audio

This commit is contained in:
asvitkine 2007-01-22 00:32:25 +00:00
parent 473a3f2e22
commit 268af8086b

View File

@ -739,8 +739,9 @@ driver_window::driver_window(SDL_monitor_desc &m)
// the second time (SDL_SetVideoMode will call SDL_Init() and all will be
// well). Without this, the video becomes corrupted (at least on Mac OS X),
// after the resolution switch (for the second and subsequent times).
if (SDL_display_opened)
SDL_Quit();
// EDIT: Ack, this breaks audio!
// if (SDL_display_opened)
// SDL_Quit();
// Create surface
int depth = sdl_depth_of_video_depth(VIDEO_MODE_DEPTH);