mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 22:27:43 +00:00
Dedicated PathButtons class and horizontal ScrollView
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
namespace Specter
|
||||
{
|
||||
static LogVisor::LogModule Log("Specter::View");
|
||||
|
||||
void View::Resources::init(boo::GLDataFactory* factory, const ThemeData& theme)
|
||||
{
|
||||
@@ -357,6 +358,8 @@ void View::draw(boo::IGraphicsCommandQueue* gfxQ)
|
||||
|
||||
void View::commitResources(ViewResources& res)
|
||||
{
|
||||
if (m_gfxData)
|
||||
Log.report(LogVisor::FatalError, "multiple resource commits not allowed");
|
||||
m_gfxData = res.m_factory->commit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user