mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 03:47:43 +00:00
Add graphics platform name to window title
This commit is contained in:
@@ -231,6 +231,7 @@ public:
|
||||
static void TickRenderTimings();
|
||||
|
||||
static boo::IGraphicsDataFactory::Platform g_BooPlatform;
|
||||
static const boo::SystemChar* g_BooPlatformName;
|
||||
static boo::IGraphicsDataFactory* g_BooFactory;
|
||||
static boo::IGraphicsCommandQueue* g_BooMainCommandQueue;
|
||||
static boo::ITextureR* g_SpareTexture;
|
||||
@@ -240,11 +241,17 @@ public:
|
||||
boo::ITextureR* spareTex)
|
||||
{
|
||||
g_BooPlatform = factory->platform();
|
||||
g_BooPlatformName = factory->platformName();
|
||||
g_BooFactory = factory;
|
||||
g_BooMainCommandQueue = cc;
|
||||
g_SpareTexture = spareTex;
|
||||
}
|
||||
|
||||
const boo::SystemChar* PlatformName()
|
||||
{
|
||||
return g_BooPlatformName;
|
||||
}
|
||||
|
||||
static boo::GraphicsDataToken CommitResources(const boo::FactoryCommitFunc& commitFunc)
|
||||
{
|
||||
return g_BooFactory->commitTransaction(commitFunc);
|
||||
|
||||
Reference in New Issue
Block a user