Skip to content

Commit

Permalink
Fix build error "conflicting types for ‘drm_free’"
Browse files Browse the repository at this point in the history
Function name conflicts with different function in drm_free drm_common.h
  • Loading branch information
schellingb authored and LibretroAdmin committed Jun 19, 2023
1 parent c253bf4 commit 4518b11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gfx/drivers/drm_gfx.c
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ static void drm_get_poke_interface(void *data,
*iface = &drm_poke_interface;
}

static void drm_free(void *data)
static void drm_gfx_free(void *data)
{
struct drm_video *_drmvars = data;

Expand Down Expand Up @@ -971,7 +971,7 @@ video_driver_t video_drm = {
drm_suppress_screensaver,
NULL, /* has_windowed */
drm_set_shader,
drm_free,
drm_gfx_free,
"drm",
NULL, /* set_viewport */
NULL, /* set_rotation */
Expand Down

0 comments on commit 4518b11

Please sign in to comment.