mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-25 17:29:19 +00:00
back out my previous change, it breaks audio
This commit is contained in:
parent
473a3f2e22
commit
268af8086b
@ -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
|
// 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),
|
// well). Without this, the video becomes corrupted (at least on Mac OS X),
|
||||||
// after the resolution switch (for the second and subsequent times).
|
// after the resolution switch (for the second and subsequent times).
|
||||||
if (SDL_display_opened)
|
// EDIT: Ack, this breaks audio!
|
||||||
SDL_Quit();
|
// if (SDL_display_opened)
|
||||||
|
// SDL_Quit();
|
||||||
|
|
||||||
// Create surface
|
// Create surface
|
||||||
int depth = sdl_depth_of_video_depth(VIDEO_MODE_DEPTH);
|
int depth = sdl_depth_of_video_depth(VIDEO_MODE_DEPTH);
|
||||||
|
Loading…
Reference in New Issue
Block a user