fixing alpha blending in 2d shape rendering to gl
This commit is contained in:
parent
f514ac62b9
commit
e68ee72c77
2 changed files with 2 additions and 2 deletions
|
|
@ -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++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue