Wrap libpng and libjpeg in AVAIL_xxxLIB defines
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3652 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
5f71f6d355
commit
129ba40ef3
1 changed files with 6 additions and 2 deletions
|
@ -494,8 +494,12 @@ void R_SetRenderer_f (void);
|
|||
|
||||
void Renderer_Init(void)
|
||||
{
|
||||
LibJPEG_Init();
|
||||
LibPNG_Init();
|
||||
#ifdef AVAIL_JPEGLIB
|
||||
LibJPEG_Init();
|
||||
#endif
|
||||
#ifdef AVAIL_PNGLIB
|
||||
LibPNG_Init();
|
||||
#endif
|
||||
|
||||
currentrendererstate.renderer = NULL;
|
||||
qrenderer = QR_NONE;
|
||||
|
|
Loading…
Reference in a new issue