Examples: SDL3+OpenGL: Update for API changes: SDL_GL_DeleteContext() renamed to SDL_GL_DestroyContext().

This commit is contained in:
ocornut 2024-07-11 18:13:42 +02:00
parent a8e96ae21a
commit c3c90b49e0
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ int main(int, char**)
ImGui_ImplSDL3_Shutdown();
ImGui::DestroyContext();
SDL_GL_DeleteContext(gl_context);
SDL_GL_DestroyContext(gl_context);
SDL_DestroyWindow(window);
SDL_Quit();