Skip to content

Commit

Permalink
#6 Fix build Editor error
Browse files Browse the repository at this point in the history
  • Loading branch information
ducphamhong committed Oct 22, 2020
1 parent 7593f8d commit 0f2f80c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Projects/Editor/Source/GUI/Renderer/CRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ namespace Skylicht
{
namespace GUI
{
CRenderer *g_renderer = NULL;
CRenderer *g_baseRenderer = NULL;

CRenderer* CRenderer::getRenderer()
{
return g_renderer;
return g_baseRenderer;
}

void CRenderer::setRenderer(CRenderer* r)
{
g_renderer = r;
g_baseRenderer = r;
}

CRenderer::CRenderer()
Expand Down
6 changes: 3 additions & 3 deletions Projects/Editor/Source/GUI/Theme/CTheme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ namespace Skylicht
{
namespace GUI
{
CTheme *g_theme = NULL;
CTheme *g_baseTheme = NULL;

CTheme* CTheme::getTheme()
{
return g_theme;
return g_baseTheme;
}

void CTheme::setTheme(CTheme* theme)
{
g_theme = theme;
g_baseTheme = theme;
}

CTheme::CTheme()
Expand Down

0 comments on commit 0f2f80c

Please sign in to comment.