summaryrefslogtreecommitdiffstats
path: root/unityplugin/GhostCubePlugin/PluginSource
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-03-06 08:02:14 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-03-06 08:02:14 +0000
commit1932df174dbec55f7a4fa31b0660cdc8ceb7657c (patch)
tree5ccad5d1f1fec861b79aaaa41837ee00e687abdc /unityplugin/GhostCubePlugin/PluginSource
parentUpdates to comply with addition of ShaderFlags to IPipelineState::BindStaticR... (diff)
downloadDiligentEngine-1932df174dbec55f7a4fa31b0660cdc8ceb7657c.tar.gz
DiligentEngine-1932df174dbec55f7a4fa31b0660cdc8ceb7657c.zip
Final updates to make GL backend work
Diffstat (limited to 'unityplugin/GhostCubePlugin/PluginSource')
-rw-r--r--unityplugin/GhostCubePlugin/PluginSource/src/RenderAPI_OpenGLCoreES.cpp4
1 files changed, 2 insertions, 2 deletions
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)
{