]> icculus.org git repositories - divverent/darkplaces.git/commit
now fetchs wgl functions
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 16 May 2002 06:54:20 +0000 (06:54 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 16 May 2002 06:54:20 +0000 (06:54 +0000)
commitcac98d2d118bcf67d65f51f6ec325a06dacd51c3
tree8f4563e4e50e76572757b5db3b6cf45146527216
parentebc2544efec3581387b39fb476c527c755f3ee64
now fetchs wgl functions
now works with all drivers I would hope (tries both wglGetProcAddress and GetProcAddress to get a function's address)
now detects both glDrawRangeElements (1.2 function) and GL_EXT_draw_range_elements (1.1 and above extension)
now tunes gl_mesh_maxtriangles based on DrawRangeElements limitations reported by driver (if available)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1848 d7cf8633-e32d-0410-b094-e92efae38249
gl_backend.c
glquake.h
vid_shared.c