Fix FBO_*() usage when framebuffers are unavailable or undesired.
This commit is contained in:
parent
c4aa3cf8c0
commit
5cbe7888f8
7 changed files with 43 additions and 36 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue