Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Wed Sep 11 11:05:55 EDT 2002


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2002-09-11 15:05:54 UTC

Log message:

VID_Init now takes mode settings (fullscreen, width, height)
commandline options like -window and -width are now parsed by vid_shared code
vid_width, vid_height, and vid_bitsperpixel cvars added, vid_mode removed
VID_CompareMode added, for simpler mode matching (returns a double, smaller value is better match)
GL_OpenLibrary takes a library name to load
GL_OpenLibrary, GL_CloseLibrary, and GL_GetProcAddress have been moved to platform specific vid_ files (wgl and glx)
gl_platform added (example values: "WGL", "GLX")
gl_platformextensions added (containing any extensions reported by platform specific strings)
gl_checkextension renamed to GL_CheckExtension for consistency
glXQueryExtensionsString and glXGetProcAddressARB support
looks up GLX_SGI_video_sync extension
removed halfscreen hack from vid_wgl (the code that tried to identify dual monitor configurations and use only one of them)

Modified files:
     glquake.h host.c vid.h vid_glx.c vid_shared.c vid_wgl.c
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20020911.150554.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20020911/ad425dd4/attachment.diff>


More information about the twilight-commits mailing list