mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
dzn: Fix printf() format in dxgi_get_factory() error message
Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17250>
This commit is contained in:
parent
a1715875e1
commit
da493e144f
2 changed files with 2 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ dxgi_get_factory(bool debug)
|
|||
IDXGIFactory4 *factory;
|
||||
HRESULT hr = CreateDXGIFactory2(flags, &IID_IDXGIFactory4, (void **)&factory);
|
||||
if (FAILED(hr)) {
|
||||
mesa_loge("CreateDXGIFactory2 failed: %08x\n", hr);
|
||||
mesa_loge("CreateDXGIFactory2 failed: %08x\n", (int32_t)hr);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -66,6 +66,7 @@ if cc.get_argument_syntax() != 'msvc'
|
|||
'-Werror=unused-variable',
|
||||
'-Werror=unused-but-set-variable',
|
||||
'-Werror=unused-value',
|
||||
'-Werror=format',
|
||||
]
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue