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:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user