diff options
Diffstat (limited to 'src/rend2/tr_scene.c')
-rw-r--r-- | src/rend2/tr_scene.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rend2/tr_scene.c b/src/rend2/tr_scene.c index 20f90547..eb58481e 100644 --- a/src/rend2/tr_scene.c +++ b/src/rend2/tr_scene.c @@ -476,13 +476,13 @@ void RE_RenderScene( const refdef_t *fd ) { } /* playing with more shadows */ - if(!( fd->rdflags & RDF_NOWORLDMODEL ) && r_shadows->integer == 4) + if(glRefConfig.framebufferObject && !( fd->rdflags & RDF_NOWORLDMODEL ) && r_shadows->integer == 4) { R_RenderPshadowMaps(fd); } // playing with even more shadows - if(!( fd->rdflags & RDF_NOWORLDMODEL ) && (r_forceSun->integer || tr.sunShadows)) + if(glRefConfig.framebufferObject && !( fd->rdflags & RDF_NOWORLDMODEL ) && (r_forceSun->integer || tr.sunShadows)) { R_RenderSunShadowMaps(fd, 0); R_RenderSunShadowMaps(fd, 1); |