diff options
Diffstat (limited to 'libs/rs/rsContext.h')
-rw-r--r-- | libs/rs/rsContext.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/rs/rsContext.h b/libs/rs/rsContext.h index 3c7a3d2..199cc5a 100644 --- a/libs/rs/rsContext.h +++ b/libs/rs/rsContext.h @@ -191,6 +191,19 @@ public: bool mLogVisual; } props; + mutable struct { + bool inRoot; + const char *command; + const char *file; + uint32_t line; + } watchdog; + static void printWatchdogInfo(void *ctx); + void setWatchdogGL(const char *cmd, uint32_t line, const char *file) const { + watchdog.command = cmd; + watchdog.file = file; + watchdog.line = line; + } + void dumpDebug() const; void setError(RsError e, const char *msg = NULL) const; |