summaryrefslogtreecommitdiffstats
path: root/rsDriverLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rsDriverLoader.cpp')
-rw-r--r--rsDriverLoader.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/rsDriverLoader.cpp b/rsDriverLoader.cpp
index 37bd12a2..528af0fa 100644
--- a/rsDriverLoader.cpp
+++ b/rsDriverLoader.cpp
@@ -204,6 +204,9 @@ bool Context::loadRuntime(const char* filename) {
goto error;
}
+ // Only map in the actual driver name if we successfully load the runtime.
+ mDriverName = filename;
+
return true;