diff --git a/client/renderers/EGL/cursor.c b/client/renderers/EGL/cursor.c index d4c8f366..eb715cef 100644 --- a/client/renderers/EGL/cursor.c +++ b/client/renderers/EGL/cursor.c @@ -129,7 +129,7 @@ static inline void egl_cursor_tex_uniforms(EGL_Cursor * cursor, struct CursorTex static void egl_cursor_tex_free(struct CursorTex * t) { - egl_texture_free(&t->texture); + egl_textureFree(&t->texture); egl_shaderFree (&t->shader ); }; diff --git a/client/renderers/EGL/desktop.c b/client/renderers/EGL/desktop.c index 45504141..42ad6da5 100644 --- a/client/renderers/EGL/desktop.c +++ b/client/renderers/EGL/desktop.c @@ -181,7 +181,7 @@ void egl_desktopFree(EGL_Desktop ** desktop) if (!*desktop) return; - egl_texture_free (&(*desktop)->texture ); + egl_textureFree (&(*desktop)->texture ); egl_shaderFree (&(*desktop)->shader_generic.shader); egl_desktopRectsFree(&(*desktop)->mesh ); @@ -289,7 +289,7 @@ bool egl_desktop_update(EGL_Desktop * desktop, const FrameBuffer * frame, int dm DEBUG_WARN("DMA update failed, disabling DMABUF imports"); desktop->useDMA = false; - egl_texture_free(&desktop->texture); + egl_textureFree(&desktop->texture); if (!egl_textureInit(&desktop->texture, desktop->display, EGL_TEXTYPE_FRAMEBUFFER, true)) { DEBUG_ERROR("Failed to initialize the desktop texture"); diff --git a/client/renderers/EGL/texture.c b/client/renderers/EGL/texture.c index ce2a6bdc..2d709135 100644 --- a/client/renderers/EGL/texture.c +++ b/client/renderers/EGL/texture.c @@ -69,7 +69,7 @@ bool egl_textureInit(EGL_Texture ** texture, EGLDisplay * display, return true; } -void egl_texture_free(EGL_Texture ** tex) +void egl_textureFree(EGL_Texture ** tex) { (*tex)->ops.free(*tex); *tex = NULL; diff --git a/client/renderers/EGL/texture.h b/client/renderers/EGL/texture.h index a29817d4..238e555c 100644 --- a/client/renderers/EGL/texture.h +++ b/client/renderers/EGL/texture.h @@ -128,7 +128,7 @@ struct EGL_Texture bool egl_textureInit(EGL_Texture ** texture, EGLDisplay * display, EGL_TexType type, bool streaming); -void egl_texture_free(EGL_Texture ** tex); +void egl_textureFree(EGL_Texture ** tex); bool egl_textureSetup(EGL_Texture * texture, enum EGL_PixelFormat pixFmt, size_t width, size_t height, size_t stride);