Skip to content

Commit

Permalink
Texture stray pixel issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
adamd3v committed Oct 3, 2023
1 parent 7b9ee1c commit e3d709c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/WAD/WADFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ public void ReadPatch(WADIndexEntry entry)

Texture2D tex = new Texture2D(width, height, TextureFormat.RGBA32, false);
tex.filterMode = FilterMode.Point;
tex.wrapMode = TextureWrapMode.Clamp;

Color32[] colors = new Color32[width * height];

Expand Down

0 comments on commit e3d709c

Please sign in to comment.