ioef/code
Zack Middleton 95b241b8ba OpenGL2 don't try to dlight surfaces that had all dlights culled
In the renderers, dlightbits are never cleared from world surfaces.
The dlight image does not repeat, so if it draws on extra surfaces it's
not visible.

However if using a repeating image (tr.defaultImage instead of tr.dlightImage);

  * In OpenGL1 image is only drawn on surfaces close to dlight origin.
  * In OpenGL2 image is draw on surfaces clearly outside the dlight radius, including past non-dlighted surfaces.

It seems there was a similar issue with pshadowBits. So update surface
dlightBits even if 0, like already done for pshadowBits. This causes
only surfaces close to origin to be affected. (Though it is a little
farther than in OpenGL1.)

I have no idea why this isn't a problem in OpenGL1.
2014-06-10 21:34:31 -05:00
..
AL 5882 - Update OpenAL Headers to OpenAL Soft 1.15.1 2013-02-17 07:34:41 -06:00
asm Fix some clang warnings 2013-03-12 21:50:59 +00:00
botlib Fix unchecked buffer size issues in l_script.c and l_precomp.c 2014-05-25 18:41:24 -05:00
cgame Fix cg.skulltrails out of bounds access in Team Arena Harvester mode 2014-05-01 21:32:21 -05:00
client Revert "DMA 44100Hz needs more memory for sound buffers" 2014-03-17 13:44:30 -05:00
game Fix compiling game VM with OBSTACLEDEBUG defined 2014-03-24 17:10:24 -05:00
jpeg-8c Mark JPEG lib changes, file provided by Simon McVittie 2012-07-01 18:07:56 +00:00
libcurl-7.35.0/curl Upgrade from libcurl 7.15.5 (2006-08-07) to 7.35.0 (2014-01-29) 2014-02-08 17:33:56 +00:00
libogg-1.3.1 Upgrade libogg 1.3.0 to 1.3.1 2014-02-08 03:38:01 +00:00
libs Rebuilt MSVC SDL 1.2.15 Revision 8040 import libs 2014-04-16 15:08:21 -05:00
libspeex Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings 2011-07-29 12:27:00 +00:00
libvorbis-1.3.4 Add vorbis 1.3.4 build support 2014-02-08 08:26:03 +00:00
null Add renderercommon/tr_common.h 2013-02-16 20:58:04 +00:00
opus-1.1 Upgrade opus 1.0.2 -> 1.1 2014-02-08 03:21:02 +00:00
opusfile-0.5 Upgrade opusfile 0.2 to 0.5 2014-02-08 03:29:10 +00:00
q3_ui Fix Gauntlet barrel axis in UI 2014-05-18 20:38:14 -05:00
qcommon Fix OOB access in CM_EdgePlaneNum without erroring in CM_GridPlane 2014-05-25 23:03:42 -05:00
renderercommon Bunch of comment fixes 2014-03-13 02:20:54 +01:00
renderergl1 Fix potential buffer overflow caused by long tcMod args 2014-05-25 18:44:17 -05:00
renderergl2 OpenGL2 don't try to dlight surfaces that had all dlights culled 2014-06-10 21:34:31 -05:00
sdl Add latch to r_centerWindow and r_allowResize 2013-12-06 23:42:23 -06:00
SDL12/include Update SDL 1.2.15 to Revision 8040 2014-03-09 09:24:54 -04:00
server Fix max bans range check in SV_AddBanToList 2014-05-25 18:41:51 -05:00
sys Fix potential OOB in Windows Dedicated TTY CON_Show 2014-05-26 23:11:56 -05:00
tools drop some useless return statements 2013-05-30 15:43:21 -05:00
ui Fix an invalid null deref check in the slider code. 2014-05-29 22:27:00 -05:00
zlib drop some useless return statements 2013-05-30 15:43:21 -05:00