Skip to content

Commit 61b5288

Browse files
add a more accessible renderdoc flag
1 parent f7ed080 commit 61b5288

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/Nabla/COpenGLDriver.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,6 +1026,9 @@ class COpenGLDriver final : public CNullDriver, public COpenGLExtensionHandler
10261026
uint32_t getMaxTextureBindingsCompute() const override { return COpenGLExtensionHandler::maxTextureBindingsCompute; }
10271027
uint32_t getMaxImageBindings() const override { return COpenGLExtensionHandler::maxImageBindings; }
10281028

1029+
//!
1030+
bool runningInRenderdoc() const { return runningInRenderDoc; }
1031+
10291032
private:
10301033
SAuxContext* getThreadContext_helper(const bool& alreadyLockedMutex, const std::thread::id& tid = std::this_thread::get_id());
10311034

0 commit comments

Comments
 (0)