From 630c842e8ef37308d09ba8a07c36c03eb8a53870 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 22 Jul 2012 00:49:35 +0000 Subject: [PATCH] fix bloom rendering bugs caused by lingering state from transparent entity rendering (this bug was hidden by r_coronas before) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11834 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=9d710ec10e1f3c5e429cadd03cd453929caac7fd --- gl_rmain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gl_rmain.c b/gl_rmain.c index 9499f16c..002355cc 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -6380,6 +6380,8 @@ static void R_BlendView(int fbo, rtexture_t *depthtexture, rtexture_t *colortext unsigned int permutation; float uservecs[4][4]; + R_EntityMatrix(&identitymatrix); + switch (vid.renderpath) { case RENDERPATH_GL20: -- 2.39.2