fix bloom rendering bugs caused by lingering state from transparent
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 22 Jul 2012 00:49:35 +0000 (00:49 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 22 Jul 2012 00:49:35 +0000 (00:49 +0000)
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

gl_rmain.c

index 9499f16..002355c 100644 (file)
@@ -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: