Skip to content

Commit

Permalink
win32: Fix debug build break
Browse files Browse the repository at this point in the history
Fixes: 484f128 ("win32: remove duplicate adapter_luid entry")
Signed-off-by: Sil Vilerino <[email protected]>
  • Loading branch information
sivileri authored and dvrogozh committed Sep 27, 2023
1 parent 8575b2b commit 2a1536a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions va/win32/va_win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ VADisplay vaGetDisplayWin32(
LoadDriverNameFromRegistry(adapter_luid, pWin32Ctx);
#ifdef _DEBUG
if (pWin32Ctx->registry_driver_available_flag) {
fprintf(stderr, "VA_Win32: Found driver %s in the registry for LUID %ld %ld \n", pWin32Ctx->registry_driver_name, adapter_luid.LowPart, adapter_luid.HighPart);
fprintf(stderr, "VA_Win32: Found driver %s in the registry for LUID %ld %ld \n", pWin32Ctx->registry_driver_name, adapter_luid->LowPart, adapter_luid->HighPart);
} else {
fprintf(stderr, "VA_Win32: Couldn't find a driver in the registry for LUID %ld %ld. Using default driver: %s \n", adapter_luid.LowPart, adapter_luid.HighPart, VAAPI_DEFAULT_DRIVER_NAME);
fprintf(stderr, "VA_Win32: Couldn't find a driver in the registry for LUID %ld %ld. Using default driver: %s \n", adapter_luid->LowPart, adapter_luid->HighPart, VAAPI_DEFAULT_DRIVER_NAME);
}
#endif // _DEBUG
}
Expand Down

0 comments on commit 2a1536a

Please sign in to comment.