diff options
| author | azhirnov <zh1dron@gmail.com> | 2021-02-05 21:35:37 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2021-03-19 00:31:35 +0000 |
| commit | 78fa6c94992a6d1a140da1354448a004e62c9683 (patch) | |
| tree | c21183a39d58ba9ccc89d9d8ea6fe1aa9de2ec35 /Graphics/GraphicsTools | |
| parent | Merged master (diff) | |
| download | DiligentCore-78fa6c94992a6d1a140da1354448a004e62c9683.tar.gz DiligentCore-78fa6c94992a6d1a140da1354448a004e62c9683.zip | |
merged with resource_signature
Diffstat (limited to 'Graphics/GraphicsTools')
| -rw-r--r-- | Graphics/GraphicsTools/interface/ScreenCapture.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsTools/interface/ScreenCapture.hpp b/Graphics/GraphicsTools/interface/ScreenCapture.hpp index ee0f7d4c..2420ae15 100644 --- a/Graphics/GraphicsTools/interface/ScreenCapture.hpp +++ b/Graphics/GraphicsTools/interface/ScreenCapture.hpp @@ -51,7 +51,7 @@ public: RefCntAutoPtr<ITexture> pTexture; Uint32 Id = 0; - operator bool() const + explicit operator bool() const { return pTexture != nullptr; } |
