2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-11 04:27:42 +00:00

UWP support

This commit is contained in:
Jack Andersen
2017-12-05 17:25:33 -10:00
parent 532c63fe62
commit 01e0bfde7e
6 changed files with 11 additions and 1 deletions

View File

@@ -22,9 +22,11 @@ void ViewResources::init(boo::IGraphicsDataFactory* factory, FontCache* fcache,
{
switch (ctx.platform())
{
#if BOO_HAS_GL
case boo::IGraphicsDataFactory::Platform::OpenGL:
init<boo::GLDataFactory::Context>(static_cast<boo::GLDataFactory::Context&>(ctx), *theme, fcache);
break;
#endif
#if _WIN32
case boo::IGraphicsDataFactory::Platform::D3D11:
case boo::IGraphicsDataFactory::Platform::D3D12: