From: havoc Date: Sun, 22 Jul 2012 00:49:35 +0000 (+0000) Subject: fix bloom rendering bugs caused by lingering state from transparent X-Git-Tag: xonotic-v0.8.0~96^2~204 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9d710ec10e1f3c5e429cadd03cd453929caac7fd;p=xonotic%2Fdarkplaces.git 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 --- 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: