diff options
author | Luo Jinghua <sunmoon1997@gmail.com> | 2011-12-10 10:58:59 +0800 |
---|---|---|
committer | Luo Jinghua <sunmoon1997@gmail.com> | 2011-12-10 10:58:59 +0800 |
commit | be407da1fa7b4ee9287b08f9b465dce2721bbc33 (patch) | |
tree | b19cd947cd2ae20116d51cf6e1f6d7d54809d61b | |
parent | 9a7b856e8701e9e6ee07857b48b834d62403bd83 (diff) |
SexyAppFramework: Added a render system getter to NativeDisplay
-rw-r--r-- | osframework/source/SexyAppFramework/NativeDisplay.cpp | 5 | ||||
-rw-r--r-- | osframework/source/SexyAppFramework/NativeDisplay.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/osframework/source/SexyAppFramework/NativeDisplay.cpp b/osframework/source/SexyAppFramework/NativeDisplay.cpp index cb7b0f6..79b1e2d 100644 --- a/osframework/source/SexyAppFramework/NativeDisplay.cpp +++ b/osframework/source/SexyAppFramework/NativeDisplay.cpp @@ -51,6 +51,11 @@ NativeDisplay::~NativeDisplay() { } +RenderSystem* NativeDisplay::GetRenderSystem() +{ + return 0; +} + bool NativeDisplay::Is3DAccelerated() { return false; diff --git a/osframework/source/SexyAppFramework/NativeDisplay.h b/osframework/source/SexyAppFramework/NativeDisplay.h index d6a1389..9148ff5 100644 --- a/osframework/source/SexyAppFramework/NativeDisplay.h +++ b/osframework/source/SexyAppFramework/NativeDisplay.h @@ -19,6 +19,8 @@ class SexyAppBase; class Graphics; class MemoryImage; class Widget; +class RenderSystem; + struct InputInfo; class DelayedWork @@ -90,6 +92,7 @@ class NativeDisplay virtual bool CanReinit(); virtual bool Reinit(); + virtual RenderSystem* GetRenderSystem(); virtual bool Is3DAccelerated(); virtual bool Is3DAccelerationSupported(); virtual bool Is3DAccelerationRecommended(); |