fixing alpha blending in 2d shape rendering to gl

This commit is contained in:
Lars Brubaker 2018-10-30 19:03:39 -07:00
parent f514ac62b9
commit e68ee72c77
2 changed files with 2 additions and 2 deletions

View file

@ -194,7 +194,7 @@ namespace MatterHackers.GCodeVisualizer
Graphics2DOpenGL graphics2DGl = graphics2D as Graphics2DOpenGL;
if (graphics2DGl != null)
{
graphics2DGl.PreRender();
graphics2DGl.PreRender(Color.White);
GL.Begin(BeginMode.Triangles);
for (int i = startFeature; i < endFeature; i++)
{