summaryrefslogtreecommitdiff
path: root/src/rend2/tr_shade.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rend2/tr_shade.c')
-rw-r--r--src/rend2/tr_shade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rend2/tr_shade.c b/src/rend2/tr_shade.c
index c74409e4..e0452d0c 100644
--- a/src/rend2/tr_shade.c
+++ b/src/rend2/tr_shade.c
@@ -1713,7 +1713,7 @@ void RB_StageIteratorGeneric( void )
//
// pshadows!
//
- if ( tess.pshadowBits && tess.shader->sort <= SS_OPAQUE
+ if (glRefConfig.framebufferObject && tess.pshadowBits && tess.shader->sort <= SS_OPAQUE
&& !(tess.shader->surfaceFlags & (SURF_NODLIGHT | SURF_SKY) ) ) {
ProjectPshadowVBOGLSL();
}