]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Elric's changes:
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 8 Nov 2002 23:26:54 +0000 (23:26 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 8 Nov 2002 23:26:54 +0000 (23:26 +0000)
commitbdffd88cf8584630d1e24363e75a969435af2809
treecde63ce5f0a8a471e7901bae6dea55120551d461
parent322c9a90b31ede335eabe8c2f52030b3f41db9ad
Elric's changes:
JPEG texture loading using libjpeg (entirely optional at runtime - if not present, it won't load it)
gl_extensionfunctionlist_t is now renamed dllfunction_t and part of a shared system for library opening/function retrieval (functions Sys_LoadLibrary, Sys_GetProcAddress, Sys_UnloadLibrary - for this the library handles are considered void *'s)
LordHavoc's changes:
fixed libjpeg support in non-win32 by using jpeglib.h - honors jpeglib.h's idea of boolean - Linux libjpeg is compiled with boolean as int, unlike windows where it is apparently byte - unfortunately this also means you need libjpeg-devel installed to compile it in non-win32, not sure what can be done about this (but most people seem to have that anyway...)
looks for libjpeg.so.62 instead of libjpeg.so

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2610 d7cf8633-e32d-0410-b094-e92efae38249
15 files changed:
darkplaces.dsp
gl_rsurf.c
gl_textures.c
image.c
jpeg.c [new file with mode: 0644]
jpeg.h [new file with mode: 0644]
makefile
quakedef.h
sys.h
sys_linux.c
sys_win.c
vid.h
vid_glx.c
vid_shared.c
vid_wgl.c