Skip to content

Commit

Permalink
[mir] Point to SDL_EGL_UnloadLibrary vs doing it our selfs
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonSchaefer committed Jul 27, 2017
1 parent 18f2b27 commit ecf9f6a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 0 additions & 6 deletions src/video/mir/SDL_miropengl.c
Expand Up @@ -73,12 +73,6 @@ MIR_GL_LoadLibrary(_THIS, const char* path)
return 0;
}

void
MIR_GL_UnloadLibrary(_THIS)
{
SDL_EGL_UnloadLibrary(_this);
}

void*
MIR_GL_GetProcAddress(_THIS, const char* proc)
{
Expand Down
1 change: 1 addition & 0 deletions src/video/mir/SDL_miropengl.h
Expand Up @@ -33,6 +33,7 @@
#define MIR_GL_DeleteContext SDL_EGL_DeleteContext
#define MIR_GL_GetSwapInterval SDL_EGL_GetSwapInterval
#define MIR_GL_SetSwapInterval SDL_EGL_SetSwapInterval
#define MIR_GL_UnloadLibrary SDL_EGL_UnloadLibrary

extern int
MIR_GL_SwapWindow(_THIS, SDL_Window* window);
Expand Down

0 comments on commit ecf9f6a

Please sign in to comment.