mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
llvmpipe: Fix Wpointer-to-int-cast
Fixes: 2771fd4a (gallium, windows: Use HANDLE instead of FD for external objects)
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14021>
This commit is contained in:
parent
9b2600da87
commit
fadb4b92c5
1 changed files with 1 additions and 1 deletions
|
|
@ -1103,7 +1103,7 @@ llvmpipe_resource_get_param(struct pipe_screen *screen,
|
|||
|
||||
if (!llvmpipe_resource_get_handle(screen, context, resource, &whandle, handle_usage))
|
||||
return false;
|
||||
*value = (uint64_t)whandle.handle;
|
||||
*value = (uint64_t)(uintptr_t)whandle.handle;
|
||||
return true;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue