Fixed: lines in 2D mode had random gray pixels with high quality enabled (resolves #331)

This commit is contained in:
ZZYZX 2019-12-26 08:16:38 +02:00
parent 1cbfddd367
commit 3491bdccea
3 changed files with 5 additions and 5 deletions

View file

@ -30,6 +30,6 @@ using CodeImp.DoomBuilder;
// Build Number
// Revision
//
[assembly: AssemblyVersion("3.0.0.3271")]
[assembly: AssemblyVersion("3.0.0.3272")]
[assembly: NeutralResourcesLanguageAttribute("en")]
[assembly: AssemblyHash("fed4b77")]
[assembly: AssemblyHash("1cbfddd")]

View file

@ -91,10 +91,10 @@ namespace CodeImp.DoomBuilder.Rendering
// Clear memory
fixed(PixelColor* pixel = pixels)
{
PixelColor* op = pixel;
uint* op = (uint*)pixel;
for (int i = 0; i < pixels.Length; i++)
{
op->a = 0;
*op = 0;
op++;
}
}

View file

@ -29,5 +29,5 @@ using System.Resources;
// Build Number
// Revision
//
[assembly: AssemblyVersion("3.0.0.3271")]
[assembly: AssemblyVersion("3.0.0.3272")]
[assembly: NeutralResourcesLanguageAttribute("en")]