summaryrefslogtreecommitdiffstats
path: root/unityplugin/GhostCubePlugin/PluginSource
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-02-03 18:20:05 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-02-03 18:20:05 +0000
commitd3748a48ea2718444e710a668664b0ad7b65a371 (patch)
tree17af9593ad2e450ce372edbf8c0c3dd9e88e2ca1 /unityplugin/GhostCubePlugin/PluginSource
parentAdded DG icon to MacOS bundles (diff)
downloadDiligentEngine-d3748a48ea2718444e710a668664b0ad7b65a371.tar.gz
DiligentEngine-d3748a48ea2718444e710a668664b0ad7b65a371.zip
Updated Engine GL initialization
Diffstat (limited to 'unityplugin/GhostCubePlugin/PluginSource')
-rw-r--r--unityplugin/GhostCubePlugin/PluginSource/src/RenderAPI_OpenGLCoreES.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unityplugin/GhostCubePlugin/PluginSource/src/RenderAPI_OpenGLCoreES.cpp b/unityplugin/GhostCubePlugin/PluginSource/src/RenderAPI_OpenGLCoreES.cpp
index 2a07cc2..b5e1a0c 100644
--- a/unityplugin/GhostCubePlugin/PluginSource/src/RenderAPI_OpenGLCoreES.cpp
+++ b/unityplugin/GhostCubePlugin/PluginSource/src/RenderAPI_OpenGLCoreES.cpp
@@ -49,7 +49,7 @@ void RenderAPI_OpenGLCoreES::ProcessDeviceEvent(UnityGfxDeviceEventType type, IU
if (type == kUnityGfxDeviceEventInitialize)
{
auto *pFactoryGL = GetEngineFactoryOpenGL();
- EngineCreationAttribs Attribs;
+ EngineGLAttribs Attribs;
pFactoryGL->AttachToActiveGLContext(Attribs, &m_Device, &m_Context);
if (m_Context)
{