diff options
author | Kaloyan Chehlarski <kaloyan.chehlarski@qt.io> | 2024-04-19 16:59:50 +0200 |
---|---|---|
committer | Kaloyan Chehlarski <kaloyan.chehlarski@qt.io> | 2024-05-17 14:39:16 +0000 |
commit | f7982d009ebc6effb70cc727e0702d56c2b02356 (patch) | |
tree | 7f9f03c8fdab3e5a07c7c5990bc1b733758da848 /src/core/ozone | |
parent | c18dfe70f3f7adc7c88988d9a06a6a65fd509c19 (diff) |
Properly release COM interfaces to silence Direct3D11 warnings
When calling QueryInterface() on a COM object, the returned resource
is actually reference counted, and needs to be properly disposed of.
This commit fixes two instances where these resources were not getting
released, which removes a bunch of Direct3D11 live object warnings
that would appear on program shutdown.
Task-number: QTBUG-123790
Change-Id: I7115215ece5fe66d3dc7c192e2156c7070ecf10f
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/ozone')
0 files changed, 0 insertions, 0 deletions