winsys/amdgpu: fix a warning of defining radeon_screen_create_t twice
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15098>
This commit is contained in:
@@ -28,14 +28,12 @@
|
||||
#define AMDGPU_PUBLIC_H
|
||||
|
||||
#include "pipe/p_defines.h"
|
||||
#include "gallium/winsys/radeon/drm/radeon_drm_public.h"
|
||||
|
||||
struct radeon_winsys;
|
||||
struct pipe_screen;
|
||||
struct pipe_screen_config;
|
||||
|
||||
typedef struct pipe_screen *(*radeon_screen_create_t)(struct radeon_winsys *,
|
||||
const struct pipe_screen_config *config);
|
||||
|
||||
struct radeon_winsys *
|
||||
amdgpu_winsys_create(int fd, const struct pipe_screen_config *config,
|
||||
radeon_screen_create_t screen_create);
|
||||
|
||||
Reference in New Issue
Block a user