mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-25 16:20:36 +00:00
Add default initialisation for tag object, fixes a warning on gcc
This commit is contained in:
1 file changed
+1
-1
@@ -1829,7 +1829,7 @@ void D3D11PipelineStateViewer::resource_itemActivated(RDTreeWidgetItem *item, in
|
||||
}
|
||||
else if(buf)
|
||||
{
|
||||
D3D11ViewTag view;
|
||||
D3D11ViewTag view = {};
|
||||
if(tag.canConvert<D3D11ViewTag>())
|
||||
view = tag.value<D3D11ViewTag>();
|
||||
|
||||
|
||||
Reference in new issue
Block a user