mirror of
https://github.com/ZuneDev/MicrosoftIris.git
synced 2026-07-27 13:13:29 -07:00
Use OpenGL render engine on non-Windows platforms
This commit is contained in:
@@ -31,7 +31,7 @@ namespace Microsoft.Iris.Render.OpenGL
|
||||
private SoundDeviceType m_soundType;
|
||||
private volatile bool m_wakeRequested;
|
||||
|
||||
public GLRenderEngine(IrisEngineInfo engineInfo, IRenderHost renderHost)
|
||||
public GLRenderEngine(EngineInfo engineInfo, IRenderHost renderHost)
|
||||
{
|
||||
m_host = renderHost;
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Microsoft.Iris.Render.OpenGL
|
||||
public static class OpenGLRenderApi
|
||||
{
|
||||
/// <summary>Create an OpenGL render engine for the given Iris engine info.</summary>
|
||||
public static IRenderEngine CreateEngine(IrisEngineInfo engineInfo, IRenderHost renderHost)
|
||||
public static IRenderEngine CreateEngine(EngineInfo engineInfo, IRenderHost renderHost)
|
||||
{
|
||||
// Explicit null checks (not ArgumentNullException.ThrowIfNull, which is net6+
|
||||
// and does not exist on the net48 target).
|
||||
|
||||
Reference in New Issue
Block a user