summaryrefslogtreecommitdiffstats
path: root/Projects
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 /Projects
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 'Projects')
-rw-r--r--Projects/Asteroids/src/asteroids_DE.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/Asteroids/src/asteroids_DE.cpp b/Projects/Asteroids/src/asteroids_DE.cpp
index 52be188..5962108 100644
--- a/Projects/Asteroids/src/asteroids_DE.cpp
+++ b/Projects/Asteroids/src/asteroids_DE.cpp
@@ -156,7 +156,7 @@ void Asteroids::InitDevice(HWND hWnd, DeviceType DevType)
LoadGraphicsEngineOpenGL(GetEngineFactoryOpenGL);
}
#endif
- EngineGLAttribs CreationAttribs;
+ EngineGLCreateInfo CreationAttribs;
CreationAttribs.pNativeWndHandle = hWnd;
GetEngineFactoryOpenGL()->CreateDeviceAndSwapChainGL(
CreationAttribs, &mDevice, &mDeviceCtxt, SwapChainDesc, &mSwapChain);