d3d11_helpers: remove leftover variables

This commit is contained in:
Kacper Michajłow 2024-10-06 17:56:47 +02:00 committed by sfan5
parent 232919336d
commit 3e74b1176e
1 changed files with 0 additions and 4 deletions

View File

@ -285,8 +285,6 @@ static bool query_output_format_and_colorspace(struct mp_log *log,
DXGI_FORMAT *out_fmt,
DXGI_COLOR_SPACE_TYPE *out_cspace)
{
IDXGIOutput *output = NULL;
IDXGIOutput6 *output6 = NULL;
DXGI_OUTPUT_DESC1 desc = { 0 };
char *monitor_name = NULL;
bool success = false;
@ -322,8 +320,6 @@ static bool query_output_format_and_colorspace(struct mp_log *log,
done:
talloc_free(monitor_name);
SAFE_RELEASE(output6);
SAFE_RELEASE(output);
return success;
}