Pass graphics 2D to 3D render calls so we can draw to the screen

This commit is contained in:
Lars Brubaker 2017-08-24 13:58:06 -07:00
parent e393163848
commit ab41b7c1a7
8 changed files with 24 additions and 37 deletions

View file

@ -30,6 +30,7 @@ either expressed or implied, of the FreeBSD Project.
using System;
using System.Collections.Generic;
using MatterHackers.Agg;
using MatterHackers.Agg.UI;
using MatterHackers.RenderOpenGl;
using MatterHackers.RenderOpenGl.OpenGl;
@ -272,7 +273,7 @@ namespace MatterHackers.GCodeVisualizer
private static readonly bool Is32Bit = IntPtr.Size == 4;
public void Render3D(GCodeRenderInfo renderInfo)
public void Render3D(GCodeRenderInfo renderInfo, DrawEventArgs e)
{
if (renderInfo == null)
{