diff options
author | chai <chaifix@163.com> | 2019-08-01 09:15:04 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-08-01 09:15:04 +0800 |
commit | 99b90496765df21c5f377f42b9ed073ccb34c1fd (patch) | |
tree | 201cade18b6571d6ab5318945aed59a3610295a5 /source/modules/asura-core/graphics/gfx_device.cpp | |
parent | 084623519e95f0ab0cf4bc328b5fa736d679c5bd (diff) |
*misc
Diffstat (limited to 'source/modules/asura-core/graphics/gfx_device.cpp')
-rw-r--r-- | source/modules/asura-core/graphics/gfx_device.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/modules/asura-core/graphics/gfx_device.cpp b/source/modules/asura-core/graphics/gfx_device.cpp index 234ab23..2751a9d 100644 --- a/source/modules/asura-core/graphics/gfx_device.cpp +++ b/source/modules/asura-core/graphics/gfx_device.cpp @@ -16,7 +16,7 @@ namespace_begin(Graphics) static bool instantiated = false; #endif -GfxDevice gfx; +GfxDevice g_Device; GfxDevice::GfxDevice() { @@ -32,7 +32,7 @@ GfxDevice::~GfxDevice() GfxDevice& GfxDevice::Get() { - return gfx; + return g_Device; } static bool inited = false; |