diff options
Diffstat (limited to 'apps/plugins/sdl/progs/quake/host.c')
-rw-r--r-- | apps/plugins/sdl/progs/quake/host.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/apps/plugins/sdl/progs/quake/host.c b/apps/plugins/sdl/progs/quake/host.c index 9a5f7c29d6..6e30503d77 100644 --- a/apps/plugins/sdl/progs/quake/host.c +++ b/apps/plugins/sdl/progs/quake/host.c | |||
@@ -896,32 +896,22 @@ void Host_Init (quakeparms_t *parms) | |||
896 | if (!host_colormap) | 896 | if (!host_colormap) |
897 | Sys_Error ("Couldn't load gfx/colormap.lmp"); | 897 | Sys_Error ("Couldn't load gfx/colormap.lmp"); |
898 | 898 | ||
899 | #ifndef _WIN32 // on non win32, mouse comes before video for security reasons | ||
900 | IN_Init (); | 899 | IN_Init (); |
901 | #endif | ||
902 | VID_Init (host_basepal); | 900 | VID_Init (host_basepal); |
903 | 901 | ||
904 | Draw_Init (); | 902 | Draw_Init (); |
905 | SCR_Init (); | 903 | SCR_Init (); |
906 | R_Init (); | 904 | R_Init (); |
907 | #ifndef _WIN32 | ||
908 | // on Win32, sound initialization has to come before video initialization, so we | ||
909 | // can put up a popup if the sound hardware is in use | ||
910 | S_Init (); | 905 | S_Init (); |
911 | #else | ||
912 | 906 | ||
913 | #ifdef GLQUAKE | 907 | #ifdef GLQUAKE |
914 | // FIXME: doesn't use the new one-window approach yet | 908 | // FIXME: doesn't use the new one-window approach yet |
915 | S_Init (); | 909 | S_Init (); |
916 | #endif | 910 | #endif |
917 | 911 | ||
918 | #endif // _WIN32 | ||
919 | CDAudio_Init (); | 912 | CDAudio_Init (); |
920 | Sbar_Init (); | 913 | Sbar_Init (); |
921 | CL_Init (); | 914 | CL_Init (); |
922 | #ifdef _WIN32 // on non win32, mouse comes before video for security reasons | ||
923 | IN_Init (); | ||
924 | #endif | ||
925 | } | 915 | } |
926 | 916 | ||
927 | Cbuf_InsertText ("exec quake.rc\n"); | 917 | Cbuf_InsertText ("exec quake.rc\n"); |