1
0
Fork 0
forked from fte/fteqw

various linux tweaks that make it run a little better in debian. Added the handy stack dump code for debug client builds too.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4358 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-05-13 14:37:47 +00:00
parent ab1d780e33
commit 82bbdf6e44

View file

@ -740,6 +740,8 @@ qboolean LibPNG_Init(void)
if (!LIBPNG_LOADED())
libpng_handle = Sys_LoadLibrary("libpng", pngfuncs);
if (!LIBPNG_LOADED())
libpng_handle = Sys_LoadLibrary("libpng12", pngfuncs);
#endif
return LIBPNG_LOADED();
}
@ -1055,6 +1057,12 @@ qboolean LibJPEG_Init(void)
if (!LIBJPEG_LOADED())
libjpeg_handle = Sys_LoadLibrary("libjpeg", jpegfuncs);
#ifndef _WIN32
if (!LIBJPEG_LOADED())
libjpeg_handle = Sys_LoadLibrary("libjpeg"ARCH_DL_POSTFIX".8", jpegfuncs);
if (!LIBJPEG_LOADED())
libjpeg_handle = Sys_LoadLibrary("libjpeg"ARCH_DL_POSTFIX".62", jpegfuncs);
#endif
#endif
return LIBJPEG_LOADED();