diff --git a/BeefLibs/SDL2/src/SDL2.bf b/BeefLibs/SDL2/src/SDL2.bf index 2374b3ec..08e23ceb 100644 --- a/BeefLibs/SDL2/src/SDL2.bf +++ b/BeefLibs/SDL2/src/SDL2.bf @@ -810,7 +810,7 @@ namespace SDL2 } /* IntPtr and window refer to an SDL_GLContext and SDL_Window* */ - [LinkName("SDL_GLContext")] + [LinkName("SDL_GL_CreateContext")] public static extern SDL_GLContext GL_CreateContext(Window* window); /* context refers to an SDL_GLContext */