From 1932df174dbec55f7a4fa31b0660cdc8ceb7657c Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Wed, 6 Mar 2019 00:02:14 -0800 Subject: Final updates to make GL backend work --- .../GhostCubePlugin/PluginSource/src/RenderAPI_OpenGLCoreES.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unityplugin/GhostCubePlugin/PluginSource') diff --git a/unityplugin/GhostCubePlugin/PluginSource/src/RenderAPI_OpenGLCoreES.cpp b/unityplugin/GhostCubePlugin/PluginSource/src/RenderAPI_OpenGLCoreES.cpp index 3d4899c..d56979e 100644 --- a/unityplugin/GhostCubePlugin/PluginSource/src/RenderAPI_OpenGLCoreES.cpp +++ b/unityplugin/GhostCubePlugin/PluginSource/src/RenderAPI_OpenGLCoreES.cpp @@ -6,7 +6,7 @@ #if SUPPORT_OPENGL_UNIFIED #include "RenderAPI.h" -#include "RenderDeviceFactoryOpenGL.h" +#include "EngineFactoryOpenGL.h" #include "DeviceContextGL.h" #include "RenderDeviceGL.h" @@ -49,7 +49,7 @@ void RenderAPI_OpenGLCoreES::ProcessDeviceEvent(UnityGfxDeviceEventType type, IU if (type == kUnityGfxDeviceEventInitialize) { auto *pFactoryGL = GetEngineFactoryOpenGL(); - EngineGLAttribs Attribs; + EngineGLCreateInfo Attribs; pFactoryGL->AttachToActiveGLContext(Attribs, &m_Device, &m_Context); if (m_Context) { -- cgit v1.2.3