Sorting array members in the watch window correctly #3754
+3
−0
Closed
Annotations
2 errors
|
Check formatting
Process completed with exit code 1.
|
|
Check formatting
clang-format issues were found. See CONTRIBUTING.md for more information.
diff --git a/qrenderdoc/Windows/ShaderViewer.cpp b/qrenderdoc/Windows/ShaderViewer.cpp
index 3043a67..c1e91b3 100644
--- a/qrenderdoc/Windows/ShaderViewer.cpp
+++ b/qrenderdoc/Windows/ShaderViewer.cpp
@@ -4803,7 +4803,8 @@ bool ShaderViewer::updateWatchVariable(RDTreeWidgetItem *watchItem, const RDTree
watchItem->setItalic(false);
VariableTag tag = VariableTag(DebugVariableType::Variable, path);
- uint32_t offset = watchItem->tag().value<VariableTag>().offset; // Grab the offset that is already set
+ uint32_t offset =
+ watchItem->tag().value<VariableTag>().offset; // Grab the offset that is already set
tag.state = WatchVarState::Valid;
tag.offset = offset;
watchItem->setTag(QVariant::fromValue(tag));
|
Loading