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:
parent
ab1d780e33
commit
82bbdf6e44
1 changed files with 8 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue