X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FOpenGL_Windows.cpp;h=24fcd87d438d3178344cd36115804321db913e89;hb=2adf4594e7eccc24647a6fce8ebf77da56c9c9d0;hp=3aecec5b91a2787e8103f7bea361edf343ddc168;hpb=115331fb033ad2a8f4bcd2e1329003d5abd13366;p=lugaru.git diff --git a/Source/OpenGL_Windows.cpp b/Source/OpenGL_Windows.cpp index 3aecec5..24fcd87 100644 --- a/Source/OpenGL_Windows.cpp +++ b/Source/OpenGL_Windows.cpp @@ -1302,6 +1302,10 @@ void CleanUp (void) // the context is destroyed and libGL unloaded by SDL_Quit(). pglDeleteTextures = glDeleteTextures_doNothing; + #if PLATFORM_LINUX + _exit(0); // !!! FIXME: hack...crashes on exit! + #endif + #elif (defined WIN32) if (hRC) { @@ -2366,7 +2370,7 @@ int main(int argc, char **argv) extern int channels[100]; extern FSOUND_SAMPLE * samp[100]; - extern FSOUND_STREAM * strm[10]; + extern FSOUND_STREAM * strm[20]; extern "C" void PlaySoundEx(int chan, FSOUND_SAMPLE *sptr, FSOUND_DSPUNIT *dsp, signed char startpaused) {