diff options
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; } |
