mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-16 04:57:01 +00:00
OpenGL enum change; Metal <10.11 fixes
This commit is contained in:
@@ -180,7 +180,7 @@ void CElementGenShaders::Initialize()
|
||||
{
|
||||
switch (ctx.platform())
|
||||
{
|
||||
case boo::IGraphicsDataFactory::Platform::OGL:
|
||||
case boo::IGraphicsDataFactory::Platform::OpenGL:
|
||||
m_bindFactory.reset(Initialize(static_cast<boo::GLDataFactory::Context&>(ctx)));
|
||||
break;
|
||||
#if _WIN32
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
if(WIN32)
|
||||
set(PLAT_SRCS CElementGenShadersHLSL.cpp)
|
||||
elseif(APPLE)
|
||||
elseif(BOO_HAS_METAL)
|
||||
set(PLAT_SRCS CElementGenShadersMetal.cpp)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user