]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
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 9499f16c8611554e532c5a09f40c1e1b87a71ede..002355ccdd64882000d45a1eb7f3841b7c37f014 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: