1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 01:52:19 +00:00

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

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;
}