zink: Add VKAPI_PTR specifier to zink_stub_function_not_loaded.

To avoid a warning with clang when the function is cast to stdcall
function pointer on Windows.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29856>
This commit is contained in:
Rémi Bernon
2024-06-04 20:42:48 +02:00
parent a0877c132c
commit 8d210ae232
2 changed files with 2 additions and 2 deletions

View File

@@ -3749,7 +3749,7 @@ zink_drm_create_screen(int fd, const struct pipe_screen_config *config)
return &ret->base;
}
void zink_stub_function_not_loaded()
void VKAPI_PTR zink_stub_function_not_loaded()
{
/* this will be used by the zink_verify_*_extensions() functions on a
* release build

View File

@@ -164,7 +164,7 @@ zink_screen_update_pipeline_cache(struct zink_screen *screen, struct zink_progra
void
zink_screen_get_pipeline_cache(struct zink_screen *screen, struct zink_program *pg, bool in_thread);
void
void VKAPI_PTR
zink_stub_function_not_loaded(void);
bool