diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-09-21 05:12:56 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-09-21 05:12:56 +0000 |
| commit | 88efc5db06543a1ae977a7bbc6797d8802685667 (patch) | |
| tree | 83ff2ec63282fd504fbe00240dcd1f73a94e61b0 /NativeApp/include/Linux/LinuxAppBase.hpp | |
| parent | Updated native app project for UWP (added dxgi.lib) (diff) | |
| download | DiligentTools-88efc5db06543a1ae977a7bbc6797d8802685667.tar.gz DiligentTools-88efc5db06543a1ae977a7bbc6797d8802685667.zip | |
Linux app base: updated OnGLContextCreated to return bool
Diffstat (limited to 'NativeApp/include/Linux/LinuxAppBase.hpp')
| -rw-r--r-- | NativeApp/include/Linux/LinuxAppBase.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/NativeApp/include/Linux/LinuxAppBase.hpp b/NativeApp/include/Linux/LinuxAppBase.hpp index 9eb1a3a..809f831 100644 --- a/NativeApp/include/Linux/LinuxAppBase.hpp +++ b/NativeApp/include/Linux/LinuxAppBase.hpp @@ -61,7 +61,8 @@ public: /// by the framework /// \param [in] display - XLib display. /// \param [in] window - XLib window. - virtual void OnGLContextCreated(Display* display, Window window) = 0; + /// \return true if the initialization was successful and false otherwise + virtual bool OnGLContextCreated(Display* display, Window window) = 0; /// Handles an XLib event. |
