Fix build error "conflicting types for ‘drm_free’"

Function name conflicts with different function in drm_free drm_common.h
This commit is contained in:
Bernhard Schelling 2023-06-20 00:12:57 +09:00 committed by LibretroAdmin
parent c253bf4cbd
commit 4518b117c9

View File

@ -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;
@ -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 */