DEADSOFTWARE

Turn on linear filtering for endpic
authorJoseph Stalin <granminigun@pm.me>
Mon, 12 Aug 2019 13:27:11 +0000 (18:27 +0500)
committerJoseph Stalin <granminigun@pm.me>
Mon, 12 Aug 2019 13:27:24 +0000 (18:27 +0500)
src/game/g_game.pas

index 35f667bf432ce2678561f40920e28d44ac93df0f..3e092381baf7ad01f2d84574955e044aaae87d5b 100644 (file)
@@ -815,7 +815,9 @@ begin
   begin
     s := g_ExtractWadName(MegaWAD.endpic);
     if s = '' then s := MapsDir+WAD else s := GameDir+'/wads/';
+    TEXTUREFILTER := GL_LINEAR;
     g_Texture_CreateWADEx('TEXTURE_endpic', s+MegaWAD.endpic);
+    TEXTUREFILTER := GL_NEAREST;
   end;
   MegaWAD.endmus := cfg.ReadStr('megawad', 'endmus', 'Standart.wad:D2DMUS\ÊÎÍÅÖ');
   if MegaWAD.endmus <> '' then