Skip to content

Commit 89c1fe2

Browse files
authored
fixing opengl context destroy (SDL2 -> SDL3) (#20)
1 parent 5b4f252 commit 89c1fe2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sdl3.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,8 @@ pub const gl = struct {
355355
}
356356
extern fn SDL_GL_MakeCurrent(window: *Window, context: Context) c_int;
357357

358-
pub const deleteContext = SDL_GL_DeleteContext;
359-
extern fn SDL_GL_DeleteContext(context: Context) void;
358+
pub const destroyContext = SDL_GL_DestroyContext;
359+
extern fn SDL_GL_DestroyContext(context: Context) void;
360360
};
361361

362362
//--------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)