]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Remove forced linear flag from motion blur texture, as per wrath-darkplaces
authorMario <mario@smbclan.net>
Tue, 2 Jun 2020 15:26:45 +0000 (01:26 +1000)
committerMario <mario@smbclan.net>
Tue, 2 Jun 2020 15:26:45 +0000 (01:26 +1000)
gl_rmain.c

index 8f344505746e26a00001fe27d4ff11e6b9abfa18..79d7240b03c05c63a93f79736ed67c87874fa920 100644 (file)
@@ -5258,7 +5258,7 @@ static void R_Bloom_StartFrame(void)
                if (r_fb.screentexturewidth && r_fb.screentextureheight)
                {
                        if (r_motionblur.value > 0 || r_damageblur.value > 0)
-                               r_fb.ghosttexture = R_LoadTexture2D(r_main_texturepool, "framebuffermotionblur", r_fb.screentexturewidth, r_fb.screentextureheight, NULL, r_fb.textype, TEXF_RENDERTARGET | TEXF_FORCELINEAR | TEXF_CLAMP, -1, NULL);
+                               r_fb.ghosttexture = R_LoadTexture2D(r_main_texturepool, "framebuffermotionblur", r_fb.screentexturewidth, r_fb.screentextureheight, NULL, r_fb.textype, TEXF_RENDERTARGET | TEXF_CLAMP, -1, NULL);
                        r_fb.ghosttexture_valid = false;
                }
        }