diff options
Diffstat (limited to 'source/modules/asura-core/graphics/gfx_device.cpp')
-rw-r--r-- | source/modules/asura-core/graphics/gfx_device.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/source/modules/asura-core/graphics/gfx_device.cpp b/source/modules/asura-core/graphics/gfx_device.cpp index edfa784..c520127 100644 --- a/source/modules/asura-core/graphics/gfx_device.cpp +++ b/source/modules/asura-core/graphics/gfx_device.cpp @@ -32,6 +32,11 @@ namespace AsuraEngine { } + GfxDevice& GfxDevice::Get() + { + return gfx; + } + static bool inited = false; bool GfxDevice::Init(const AEMath::Recti& view) @@ -122,8 +127,6 @@ namespace AsuraEngine #endif } - //------------------------------------------------------------------------------// - void GfxDevice::SetMatrixMode(MatrixMode mode) { state.matrixMode = mode; @@ -191,7 +194,5 @@ namespace AsuraEngine return state.matrix[state.matrixMode].GetTopIndex(); } - //------------------------------------------------------------------------------// - - } -}
\ No newline at end of file + } // Graphics +} // AsuraEngine
\ No newline at end of file |