Minor thingy.

This commit is contained in:
Andrei Drexler 2011-04-06 06:37:16 +00:00
parent f7c26897c9
commit f06d516e19

View file

@ -706,7 +706,7 @@ void RB_RenderDrawSurfList( drawSurf_t *drawSurfs, int numDrawSurfs ) {
if (fbo) {
VectorCopy(backEnd.currentEntity->e.origin, backEnd.sunFlarePos);
// switch FBO
R_FBO_Bind(tr.fbo.fbos[1]);
R_FBO_Bind(tr.fbo.full[1]);
qglDepthRange(1.f, 1.f);
if (glRefConfig.occlusionQuery && !inQuery && !backEnd.hasSunFlare) {
inQuery = qtrue;