mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-20 18:52:28 +00:00
[gl] Call gl_R_CalcLightmaps after sub-model brushes have been queued
This fixes the sub-models not being dynamically lit.
This commit is contained in:
parent
600e7ecbea
commit
8ce463cbed
1 changed files with 2 additions and 2 deletions
|
@ -734,8 +734,6 @@ gl_R_DrawWorld (void)
|
|||
|
||||
R_VisitWorldNodes (&bctx);
|
||||
|
||||
gl_R_CalcLightmaps ();
|
||||
|
||||
gl_R_DrawSkyChain (sky_chain);
|
||||
|
||||
if (r_drawentities) {
|
||||
|
@ -745,6 +743,8 @@ gl_R_DrawWorld (void)
|
|||
}
|
||||
}
|
||||
|
||||
gl_R_CalcLightmaps ();
|
||||
|
||||
if (!Fog_GetDensity ()
|
||||
|| (gl_fb_bmodels && gl_mtex_fullbright)
|
||||
|| gl_mtex_active_tmus > 1) {
|
||||
|
|
Loading…
Reference in a new issue