From 5e85165a7bb539b64519208d699b40d3f2d9d497 Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Thu, 20 Oct 2022 17:51:50 +0800 Subject: [PATCH] hgl: Remove non-nused hgl_create_st_api MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Yonggang Luo Reviewed-by: Jesse Natalie Reviewed-by: Marek Olšák Part-of: --- src/gallium/frontends/hgl/hgl.c | 8 -------- src/gallium/frontends/hgl/hgl_context.h | 3 --- 2 files changed, 11 deletions(-) diff --git a/src/gallium/frontends/hgl/hgl.c b/src/gallium/frontends/hgl/hgl.c index 0e100e2fef9..731781e37cd 100644 --- a/src/gallium/frontends/hgl/hgl.c +++ b/src/gallium/frontends/hgl/hgl.c @@ -273,14 +273,6 @@ hgl_destroy_st_framebuffer(struct hgl_buffer *buffer) } -struct st_api* -hgl_create_st_api() -{ - CALLED(); - return st_gl_api_create(); -} - - struct st_visual* hgl_create_st_visual(ulong options) { diff --git a/src/gallium/frontends/hgl/hgl_context.h b/src/gallium/frontends/hgl/hgl_context.h index 0b3b53483f7..ca5d6bbcf8d 100644 --- a/src/gallium/frontends/hgl/hgl_context.h +++ b/src/gallium/frontends/hgl/hgl_context.h @@ -79,9 +79,6 @@ struct hgl_context // hgl_buffer from statetracker interface struct hgl_buffer* hgl_st_framebuffer(struct st_framebuffer_iface *stfbi); -// hgl frontend -struct st_api* hgl_create_st_api(void); - // hgl framebuffer struct hgl_buffer* hgl_create_st_framebuffer(struct hgl_context* context, void *winsysContext); void hgl_destroy_st_framebuffer(struct hgl_buffer *buffer);