mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-10 03:50:36 +00:00
Add default initialisation for tag object, fixes a warning on gcc
This commit is contained in:
@@ -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