]> git.cworth.org Git - apitrace/blobdiff - gui/mainwindow.cpp
Add a state tab that list uniforms.
[apitrace] / gui / mainwindow.cpp
index b0290ce7fc7e50b1fbcc7a61d37877df8e4d2dc9..7a930f9d0e3a3442c4db623fc30172c40aede636 100644 (file)
@@ -495,7 +495,7 @@ void MainWindow::fillStateForFrame()
 
     m_ui.uniformsTreeWidget->clear();
     QList<QTreeWidgetItem *> uniformsItems;
-    variantMapToItems(state.uniforms, QVariantMap(), uniformsItems);
+    variantMapToItems(state.uniforms(), QVariantMap(), uniformsItems);
     m_ui.uniformsTreeWidget->insertTopLevelItems(0, uniformsItems);
 
     const QList<ApiTexture> &textures =