Added GDI-based rendering test

This commit is contained in:
SpoinkyNL committed 2018-04-15 18:41:31 +02:00
1 parent 610b45e017
commit 60544e7814
21 files changed
+382 -111

No files matched your search

+3 -2
View File
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using Artemis.Core.Plugins.Interfaces;
using Artemis.Core.ProfileElements.Interfaces;
using Artemis.Core.Services.Interfaces;
@@ -34,14 +35,14 @@ namespace Artemis.Core.ProfileElements
}
}
public void Render(double deltaTime, RGBSurface surface)
public void Render(double deltaTime, RGBSurface surface, Graphics graphics)
{
if (LayerType == null)
return;
lock (LayerType)
{
LayerType.Render(this, surface);
LayerType.Render(this, surface, graphics);
}
}